2021-10-09 21:20:41 +00:00
|
|
|
set viminfo+=n~/.config/vim/viminfo
|
|
|
|
set runtimepath+=~/.config/vim,~/.config/vim/after
|
|
|
|
set autoindent
|
|
|
|
set wrap
|
|
|
|
set linebreak
|
2021-10-21 16:30:31 +00:00
|
|
|
set mouse=a
|
2021-10-09 21:20:41 +00:00
|
|
|
set autowrite
|
|
|
|
|
|
|
|
set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab
|
|
|
|
|
|
|
|
set nocompatible
|
|
|
|
|
|
|
|
set spelllang=en_gb
|
|
|
|
|
|
|
|
set number relativenumber
|
|
|
|
|
|
|
|
syntax on
|
|
|
|
|
|
|
|
nnoremap <silent> <C-l> :nohl<CR><C-l>
|
|
|
|
|
|
|
|
inoremap { {}<ESC>ha
|
|
|
|
inoremap [ []<ESC>ha
|
|
|
|
inoremap " ""<ESC>ha
|
|
|
|
inoremap ( ()<ESC>ha
|
|
|
|
|
|
|
|
inoremap <C-space> <C-n>
|
|
|
|
|
2021-10-21 16:30:31 +00:00
|
|
|
nnoremap <S-J> <C-E>
|
|
|
|
nnoremap <S-K> <C-Y>
|
2021-10-09 21:20:41 +00:00
|
|
|
|
|
|
|
nnoremap <C-J> <C-W><C-J>
|
|
|
|
nnoremap <C-K> <C-W><C-K>
|
|
|
|
nnoremap <C-L> <C-W><C-L>
|
|
|
|
nnoremap <C-H> <C-W><C-H>
|
2021-12-05 13:44:24 +00:00
|
|
|
|
|
|
|
nnoremap <F9> :w<Enter>:!"%:p"<Enter>
|