home · archive · links · projects

.vimrc

execute pathogen#infect()
set shm+=I
set ff=unix
set autoindent
set backspace=indent,eol,start
set tw=70
set formatoptions=cqmB
set wildmode=longest,list
set guifont=Monospace\ 11
set background=dark
set nu

syntax off

noremap  <buffer> <silent> <Up>   gk
noremap  <buffer> <silent> <Down> gj
noremap  <buffer> <silent> <Home> g<Home>
noremap  <buffer> <silent> <End>  g<End>
inoremap <buffer> <silent> <Up>   <C-o>gk
inoremap <buffer> <silent> <Down> <C-o>gj
inoremap <buffer> <silent> <Home> <C-o>g<Home>
inoremap <buffer> <silent> <End>  <C-o>g<End>

set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
autocmd FileType make setlocal noexpandtab
set grepprg=rg\ --vimgrep

let g:slime_target = "tmux"
let g:slime_default_config = {"socket_name": "default", "target_pane": "{last}"}

© Licensed under CC BY-NC-SA 4.0 if not specified otherwise.
Email: dzshy [at] outlook [dot] com