nixos/vimrc
2020-12-17 09:49:27 +00:00

30 lines
454 B
VimL

unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
packadd! onedark.vim
colorscheme slate
set laststatus=2
set number
set listchars=trail:.
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