nixos/vimrc

30 lines
461 B
VimL
Raw Normal View History

unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
packadd! onedark.vim
2020-12-16 08:18:32 +00:00
colorscheme slate
set laststatus=2
2020-12-15 21:01:32 +00:00
set number
2020-12-18 09:18:50 +00:00
set listchars=trail:.,tab:>_
set list
2020-12-15 21:01:32 +00:00
2020-12-17 09:49:27 +00:00
au BufRead,BufNewFile *.ipynb set filetype=json
2020-12-15 21:01:32 +00:00
syntax on
if &diff
syntax off
2020-12-15 21:01:32 +00:00
endif
set expandtab
2020-12-15 21:01:32 +00:00
set autoindent
set smartindent
filetype plugin indent on
2020-12-15 21:01:32 +00:00
noremap <C-J> <C-W><C-J>
noremap <C-K> <C-W><C-K>
noremap <C-L> <C-W><C-L>
noremap <C-H> <C-W><C-H>
set splitbelow
set splitright