diff options
| author | Alessio Artoni <34690870+aartoni@users.noreply.github.com> | 2024-05-11 14:42:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-11 12:42:22 +0000 |
| commit | dd6eb3746958acb99e1262467bca85696b67d31e (patch) | |
| tree | 26f91ff327cb3ec5f92009d478d2d849d74ebf28 /.config/nvim/init.vim | |
| parent | f1915e71e559b6171c478a62f9016554d5081787 (diff) | |
| download | eibhear-dd6eb3746958acb99e1262467bca85696b67d31e.tar.gz eibhear-dd6eb3746958acb99e1262467bca85696b67d31e.tar.zst eibhear-dd6eb3746958acb99e1262467bca85696b67d31e.zip | |
Remove unused vim configs and shortcuts (#1385)
Remove: ranger shortcuts, "nocompatible", plain Vim support for
NERDTreeBookmarksFile and vimling configuration.
Diffstat (limited to '.config/nvim/init.vim')
| -rw-r--r-- | .config/nvim/init.vim | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 8346777..8f6d0d7 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -34,7 +34,6 @@ set noshowcmd " Some basics: nnoremap c "_c - set nocompatible filetype plugin on syntax on set encoding=utf-8 @@ -55,22 +54,11 @@ set noshowcmd " Nerd tree map <leader>n :NERDTreeToggle<CR> autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif - if has('nvim') - let NERDTreeBookmarksFile = stdpath('data') . '/NERDTreeBookmarks' - else - let NERDTreeBookmarksFile = '~/.vim' . '/NERDTreeBookmarks' - endif + let NERDTreeBookmarksFile = stdpath('data') . '/NERDTreeBookmarks' -" vimling: - nm <leader>d :call ToggleDeadKeys()<CR> - imap <leader>d <esc>:call ToggleDeadKeys()<CR>a - nm <leader>i :call ToggleIPA()<CR> - imap <leader>i <esc>:call ToggleIPA()<CR>a - nm <leader>q :call ToggleProse()<CR> - " vim-airline if !exists('g:airline_symbols') - let g:airline_symbols = {} + let g:airline_symbols = {} endif let g:airline_symbols.colnr = ' C:' let g:airline_symbols.linenr = ' L:' |
