diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 12:16:31 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 12:16:31 +0200 |
commit | 24fc98bfaca3f07c90ff33a3bfeb738fd84ff79a (patch) | |
tree | 7c5c9c870ed808d5cbee848808c70ff9ec1816c3 /.config/nvim/init.vim | |
parent | a5feec43c14bd05e8dd98d24fba7e25fdbb6fd7d (diff) |
nvim: Add extensive Neovim configuration
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r-- | .config/nvim/init.vim | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim deleted file mode 100644 index 9c02ea3..0000000 --- a/.config/nvim/init.vim +++ /dev/null @@ -1,30 +0,0 @@ -nnoremap € $ -vnoremap € $ -nnoremap ) 0 -vnoremap ) 0 -nnoremap < << -nnoremap > >> -nnoremap K :vert Man<cr> -vnoremap K :vert Man<cr> -nnoremap <c-h> <c-w>h -nnoremap <c-j> <c-w>j -nnoremap <c-k> <c-w>k -nnoremap <c-l> <c-w>l -nnoremap V <c-v> -nnoremap <c-v> V -nnoremap <c-n> :make<cr> - -fu! SortWords() - if visualmode() == "V" - '<,'>!sort - - else - '<,'>s/\%V.*\%V\w*/\=join(sort(split(submatch(0))), ' ') - endif -endfu - -vnoremap s :<c-u>call SortWords()<cr> - -set noet -set tw=80 colorcolumn=81 -set secure exrc -set splitright splitbelow |