-
-
Save rhizoome/5902120 to your computer and use it in GitHub Desktop.
Current vim config and bundles See also: https://github.com/ganwell/rmux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Basic initialization for RMUX change if need, add your settings | |
set nocp | |
let &rtp .= expand(",$RMUXDIR/vim,$RMUXDIR/vim/after") | |
" let $PYTHONPATH .= expand(":$RMUXDIR/vim/jedi") | |
call pathogen#infect() | |
call pathogen#helptags() | |
syntax on | |
filetype plugin on | |
" If you do not change above chances are good you can merge any upstream | |
" changes | |
" | |
" Your settings | |
let mapleader="," | |
set tw=80 | |
set autoindent | |
set noeb vb t_vb= | |
set ignorecase | |
set smartcase | |
let g:jedi#use_tabs_not_buffers = 0 | |
let g:jedi#show_function_definition = 1 | |
let g:pymode_lint_checker = "pyflakes,pep8,mccabe" | |
let g:pymode_lint_ignore = "E203,E272,E221,E251,E202,E271" | |
let g:pymode_rope_vim_completion = 0 | |
let g:pymode_breakpoint_cmd = "import ipdb; ipdb.set_trace() # XXX BREAKPOINT" | |
let g:pymode_folding = 0 | |
let g:clang_auto_select = 1 | |
set guifont=Menlo\ Regular:h13 | |
set number | |
set tabstop=4 shiftwidth=4 noexpandtab | |
set hlsearch | |
set wildmenu | |
set wildmode=list:longest,full | |
set completeopt=menuone,longest,preview | |
map <leader>g <C-]> | |
set background=dark | |
colorscheme solarized | |
set ruler | |
set guioptions-=T | |
map <C-h> <C-W>h | |
map <C-J> <C-W>j | |
map <C-K> <C-W>k | |
map <C-l> <C-W>l | |
" inoremap <Esc> <nop> | |
imap <C-space> <C-N><C-N> | |
imap <M-space> <C-X><C-O><C-N> | |
autocmd FileType python inoremap <buffer><C-space> <C-N><C-N> | |
" Disable cursor keys | |
imap <up> <nop> | |
imap <down> <nop> | |
imap <left> <nop> | |
imap <right> <nop> | |
map <up> <nop> | |
map <down> <nop> | |
map <left> <nop> | |
map <right> <nop> | |
:nnoremap s :exec "normal i".nr2char(getchar())."\e"<CR> | |
:nnoremap S :exec "normal a".nr2char(getchar())."\e"<CR> | |
let g:EasyGrepMode=1 | |
" EasyGrep quick fix window position buttom | |
:autocmd FileType qf wincmd J | |
" Only load cursorline / visible tab etc in GUI mode | |
if has("gui_running") | |
set list listchars=tab:⎮\ ,trail:●,precedes:…,extends:…,nbsp:‗ | |
highlight SpecialKey guibg=background | |
if &background == "light" | |
highlight SpecialKey guifg=#eee8d5 | |
else | |
highlight SpecialKey guifg=#073642 | |
end | |
else | |
let g:solarized_termcolors=256 | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$> ls .rmux-ganwell/vim/bundle/ | |
EasyGrep camelcasemotion clang_complete jedi-vim python-mode tabular vim-colors-solarized vim-fugitive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment