You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
465 B
24 lines
465 B
" 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
|
|
|
|
" Markdown configuration
|
|
autocmd FileType markdown setlocal spell
|
|
autocmd FileType markdown setlocal linebreak
|