Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2017-05-03 16:10:13 +03:00
commit c78cb78ff0
72 changed files with 3570 additions and 0 deletions

46
homedir/.vimrc Normal file
View File

@@ -0,0 +1,46 @@
" Personal vim config
scriptencoding utf-8
set encoding=utf-8
set backspace=2
set modeline
set nocompatible
set cindent
set tabstop=3
set shiftwidth=3
set noexpandtab
set scrolloff=6
set cursorline
set listchars=tab:».,trail:.
set mouse=
set number
set relativenumber
syntax enable
set background=dark
"colorscheme apprentice
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g'\"" | endif
endif "
" Custom mappings
nmap rr "_dd
nmap <leader>l :setlocal list!<cr>
" visual mode mappings
vmap r "_d
vmap R "_dP
"set foldmethod=indent
" set fmr={,}
"set foldnestmax=1