diff options
| author | Chris <[email protected]> | 2020-04-09 14:09:56 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2020-04-09 14:09:56 -0400 | 
| commit | de8b5598e795b55ed70458cc37e6d237241a8ff0 (patch) | |
| tree | f2d11537b5638f35c0bc527708f679570b8a832d /modules | |
| parent | 374e3ab69621d03571c36e248ab311c0facffec9 (diff) | |
updates and stuff
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/colorizer.vim | 4 | ||||
| -rw-r--r-- | modules/general.vim | 4 | ||||
| -rw-r--r-- | modules/nodepath.vim | 3 | ||||
| -rw-r--r-- | modules/plugins.vim | 2 | ||||
| -rw-r--r-- | modules/polyglot.vim | 4 | 
5 files changed, 11 insertions, 6 deletions
| diff --git a/modules/colorizer.vim b/modules/colorizer.vim index 9348451c..176d78ca 100644 --- a/modules/colorizer.vim +++ b/modules/colorizer.vim @@ -1,4 +1,2 @@ -let g:colorizer_syntax = 1 -let g:colorizer_auto_filetype='js,css,html,jsx,ts,tsx' -au BufNewFile,BufRead *.css,*.html,*.htm,*.js,*.jsx,*.ts,*.tsx  :ColorHighlight! +lua require'colorizer'.setup() diff --git a/modules/general.vim b/modules/general.vim index 42f1e7a7..b7764572 100644 --- a/modules/general.vim +++ b/modules/general.vim @@ -57,6 +57,8 @@ inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"  nnoremap <silent> <F1> :10split term://bash<CR>  nnoremap <silent> <F2> :bdelete! term://*<return> +inoremap K <c-d> +nnoremap J <c-u>  nnoremap <C-h> <C-w>h  nnoremap <C-j> <C-w>j @@ -85,7 +87,7 @@ nnoremap <D-l> <C-w>l  inoremap jk <Esc>  inoremap kj <Esc>  " This is how much I hate it -inoremap <esc> <nop> +"inoremap <esc> <nop>  " Easy CAPS  inoremap <c-u> <ESC>viwUi diff --git a/modules/nodepath.vim b/modules/nodepath.vim index 20d6c33d..792df67d 100644 --- a/modules/nodepath.vim +++ b/modules/nodepath.vim @@ -1,2 +1,3 @@  " You can comment this and recomment it after installing coc executable('~/.nvm/versions/node/v12.16.1/bin/node') -let g:coc_node_path = expand("~/.nvm/versions/node/v12.16.1/bin/node") +let g:node_host_prog = expand("~/.fnm/aliases/stable/bin/node") +let g:coc_node_path = expand("~/.fnm/aliases/stable/bin/node") diff --git a/modules/plugins.vim b/modules/plugins.vim index 549b4a18..fbcc7738 100644 --- a/modules/plugins.vim +++ b/modules/plugins.vim @@ -81,7 +81,7 @@ if dein#load_state('~/.config/nvim/dein')    "echo doc     call dein#add('Shougo/echodoc.vim')    "Colorizer " -  call dein#add('chrisbra/Colorizer') +  call dein#add('norcalli/nvim-colorizer.lua')    " Python docstring "    call dein#add('heavenshell/vim-pydocstring') diff --git a/modules/polyglot.vim b/modules/polyglot.vim new file mode 100644 index 00000000..08c5d72c --- /dev/null +++ b/modules/polyglot.vim @@ -0,0 +1,4 @@ +aug i3config_ft_detection +  au! +  au BufNewFile,BufRead ~/.config/i3/config set filetype=i3config +aug end | 
