diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2021-09-12 09:53:25 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2021-09-12 09:53:25 +0200 |
| commit | 10b83cc1dbf6c7562b1bdf26cdfda8876600a17f (patch) | |
| tree | fac8844bc3c423fc3501c425a8f08b52597e0656 /init.vim | |
| parent | b8d7f83d8b902b136ea505bbe21a17cc4958087a (diff) | |
| download | nvim-conf-10b83cc1dbf6c7562b1bdf26cdfda8876600a17f.tar.gz nvim-conf-10b83cc1dbf6c7562b1bdf26cdfda8876600a17f.zip | |
remove alacritty, update configs
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -25,12 +25,25 @@ autocmd BufWritePre * %s/\s\+$//e augroup fmtphp autocmd! - autocmd BufWritePre *.php undojoin | Neoformat + autocmd BufWritePre *.php undojoin | lua vim.lsp.buf.formatting() augroup END filetype plugin indent on autocmd FileType yaml setl indentkeys-=<:> autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab +nnoremap Y y$ + +nnoremap n nzzzv +nnoremap N Nzzzv +nnoremap J mzJ`z + +inoremap , ,<c-g>u +inoremap . .<c-g>u +inoremap ! !<c-g>u +inoremap ? ?<c-g>u +inoremap $ $<c-g>u +inoremap > ><c-g>u + " Has to be the last line for the .nvimrc per project set secure |