mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-15 00:43:28 +00:00
35 lines
593 B
VimL
35 lines
593 B
VimL
|
set viminfo+=n~/.config/vim/viminfo
|
||
|
set runtimepath+=~/.config/vim,~/.config/vim/after
|
||
|
set autoindent
|
||
|
set wrap
|
||
|
set linebreak
|
||
|
set mouse=a
|
||
|
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>
|
||
|
|
||
|
inoremap <C-down> <C-E>
|
||
|
inoremap <C-up> <C-Y>
|
||
|
|
||
|
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>
|