nix-config/neovim/vimrc

19 lines
353 B
VimL

" Temporary configuration for editing Nix files
syntax on
set autoindent
set expandtab
set tabstop=2
set shiftwidth=2
" Shortcutting split navigation
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
" v for vertical, s for side-by-side
map <C-w>v :split<CR>
map <C-w>s :vsplit<CR>
" Use system clipboard
set clipboard+=unnamedplus