nixos/vimrc
2020-12-18 09:18:50 +00:00

30 lines
461 B
VimL

unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
packadd! onedark.vim
colorscheme slate
set laststatus=2
set number
set listchars=trail:.,tab:>_
set list
au BufRead,BufNewFile *.ipynb set filetype=json
syntax on
if &diff
syntax off
endif
set expandtab
set autoindent
set smartindent
filetype plugin indent on
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