1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

..

No commits in common. "98b01f9816f261d642c2c11c8bbe03238bf38831" and "70e86868c07f7681783a2140d425347c809b3b77" have entirely different histories.

7 changed files with 18 additions and 37 deletions

View File

@ -161,7 +161,6 @@ A repository of my personal configuration files.
- [[https://github.com/vim-airline/vim-airline][vim-airline/vim-airline]] - [[https://github.com/vim-airline/vim-airline][vim-airline/vim-airline]]
*** Programming *** Programming
- [[https://github.com/airblade/vim-gitgutter][airblade/vim-gitgutter]] - [[https://github.com/airblade/vim-gitgutter][airblade/vim-gitgutter]]
- [[https://github.com/dense-analysis/ale][dense-analysis/ale]]
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]] - [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
- [[https://github.com/neoclide/coc.nvim][neoclice/coc.nvim]] - [[https://github.com/neoclide/coc.nvim][neoclice/coc.nvim]]
- [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]] - [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]]

View File

@ -1,10 +1,12 @@
{ {
"dependencies": { "dependencies": {
"coc-css": ">=1.2.3", "coc-css": ">=1.2.3",
"coc-eslint": "^1.2.7",
"coc-html": ">=1.2.4", "coc-html": ">=1.2.4",
"coc-jest": ">=1.0.3", "coc-jest": ">=1.0.3",
"coc-json": ">=1.2.6", "coc-json": ">=1.2.6",
"coc-pairs": ">=1.2.21", "coc-pairs": ">=1.2.21",
"coc-prettier": ">=1.1.14",
"coc-python": ">=1.2.12", "coc-python": ">=1.2.12",
"coc-rls": ">=1.1.6", "coc-rls": ">=1.1.6",
"coc-tsserver": ">=1.5.1", "coc-tsserver": ">=1.5.1",

View File

@ -34,7 +34,6 @@
" Programming { " Programming {
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'dense-analysis/ale'
Plug 'godlygeek/tabular' Plug 'godlygeek/tabular'
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'preservim/nerdcommenter' Plug 'preservim/nerdcommenter'
@ -164,6 +163,8 @@
" } " }
" coc { " coc {
command! -nargs=0 Prettier :CocCommand prettier.formatFile
vmap <leader>f <Plug>(coc-format-selected) vmap <leader>f <Plug>(coc-format-selected)
nmap <leader>f <Plug>(coc-format-selected) nmap <leader>f <Plug>(coc-format-selected)
@ -183,19 +184,4 @@
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
" } " }
" ale {
" Shortcuts jump between linting errors
map <silent> [c <Plug>(ale_previous_wrap)
nmap <silent> ]c <Plug>(ale_next_wrap)
let g:ale_sign_error = '❌'
let g:ale_sign_warning = '⚠️'
" Fix files
let g:ale_fixers = {'javascript': ['prettier', 'eslint']}
" Fix files automatically on save
let g:ale_fix_on_save = 1
" }
" } " }

View File

@ -226,9 +226,6 @@ ex=:\
# Save history file in proper place # Save history file in proper place
HISTFILE=~/.cache/zsh/history HISTFILE=~/.cache/zsh/history
# Load config files from their proper place
ZDOTDIR=~/.config/zsh
# Use alternative muhome # Use alternative muhome
export MU_HOME="/home/alrayyes/.cache/mu" export MU_HOME="/home/alrayyes/.cache/mu"

View File

@ -35,9 +35,6 @@ zplug "plugins/yarn", from:oh-my-zsh
zplug "zsh-users/zsh-autosuggestions", from:github, defer:3 zplug "zsh-users/zsh-autosuggestions", from:github, defer:3
zplug "zsh-users/zsh-syntax-highlighting", from:github, defer:3 zplug "zsh-users/zsh-syntax-highlighting", from:github, defer:3
# Let zplug manage itself
zplug 'zplug/zplug', hook-build:'zplug --self-manage'
# Install packages # Install packages
if ! zplug check --verbose; then if ! zplug check --verbose; then
printf "Install zplug plugins? [y/N]: " printf "Install zplug plugins? [y/N]: "