diff options
author | Vitor Gonçalves <vitorg@tilde.team> | 2024-01-20 02:43:30 -0300 |
---|---|---|
committer | Vitor Gonçalves <vitorg@tilde.team> | 2024-01-20 02:43:30 -0300 |
commit | d407ba049ebe3c728f8cd0775f6ca1849d9c5343 (patch) | |
tree | 4e91bc202e9c42327ca8fd5c823cd5221234e0f5 /.config | |
parent | e21edaa14d06693b953c4082ad7880ffacad4e21 (diff) | |
download | dots-d407ba049ebe3c728f8cd0775f6ca1849d9c5343.tar.gz |
nvim: switch dein>submodules for plugins
dein is such a weird thing idk, and submodules just work: if i dont want a plugin? okay, just move it out or rm the directory lol
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/init.vim | 20 | ||||
m--------- | .config/nvim/pack/plugins/start/emmet-vim | 0 | ||||
m--------- | .config/nvim/pack/plugins/start/sonokai | 0 | ||||
m--------- | .config/nvim/pack/plugins/start/vim-polyglot | 0 |
4 files changed, 5 insertions, 15 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 181ceff..58f2798 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,16 +1,5 @@ set nocompatible -" plugins -execute 'set runtimepath+=' . '/home/vtrgnc/.local/share/dein/repos/github.com/Shougo/dein.vim' -call dein#begin('/home/vtrgnc/.local/share/dein') - -call dein#add('Shougo/dein.vim') -call dein#add('sainnhe/sonokai') -call dein#add('sheerun/vim-polyglot') -call dein#add('mattn/emmet-vim') - -call dein#end() - " inteligent indentation filetype indent plugin on set tabstop=4 softtabstop=4 shiftwidth=4 expandtab smartindent @@ -44,6 +33,8 @@ nnoremap <leader>h <C-w>h nnoremap <leader>j <C-w>j nnoremap <leader>k <C-w>k nnoremap <leader>l <C-w>l +nnoremap <leader>L :vs<CR> +nnoremap <leader>J :sp<CR> nnoremap <silent> <Esc><Esc> :nohlsearch<CR> set splitright splitbelow @@ -52,6 +43,9 @@ nmap <leader>w :w!<CR> nmap <leader>W :w!<CR> nmap <leader>q :wq!<CR> +" easy term-mode +tnoremap <C-\> <C-\><C-n> + " emmet let g:user_emmet_mode='n' " only on normal mode, thx let g:user_emmet_install_global = 0 @@ -59,7 +53,3 @@ autocmd FileType html,css EmmetInstall let g:user_emmet_leader_key=',' -" checks if plugins are installed; if not, installs them -if dein#check_install() - call dein#install() -endif diff --git a/.config/nvim/pack/plugins/start/emmet-vim b/.config/nvim/pack/plugins/start/emmet-vim new file mode 160000 +Subproject def5d57a1ae5afb1b96ebe83c4652d1c03640f4 diff --git a/.config/nvim/pack/plugins/start/sonokai b/.config/nvim/pack/plugins/start/sonokai new file mode 160000 +Subproject bdce098fc9e7202d3c555e2dc98c755ca1c2383 diff --git a/.config/nvim/pack/plugins/start/vim-polyglot b/.config/nvim/pack/plugins/start/vim-polyglot new file mode 160000 +Subproject bc8a81d3592dab86334f27d1d43c080ebf680d4 |