Skip to content

Instantly share code, notes, and snippets.

@onodes
Last active January 20, 2018 13:37
Show Gist options
  • Save onodes/2840513 to your computer and use it in GitHub Desktop.
Save onodes/2840513 to your computer and use it in GitHub Desktop.
vimrc file
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'vim-ruby/vim-ruby'
Bundle 'tpope/vim-rails.git'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-cucumber'
Bundle 'tpope/vim-endwise'
Bundle 'tpope/vim-vividchalk'
Bundle 'Lokaltog/vim-powerline'
Bundle 'scrooloose/nerdcommenter'
Bundle 'nginx.vim'
Bundle 'FuzzyFinder'
Bundle 'davidhalter/jedi-vim'
Bundle 'L9'
Bundle 'python'
filetype plugin indent on " required!
let NERDSpaceDelims = 1
nmap ,, <Plug>NERDCommenterToggle
vmap ,, <Plug>NERDCommenterToggle
nmap ,a <Plug>NERDCommenterAppend
vmap ,p <Plug>NERDCommenterSexy
let g:Powerline_symbols = 'fancy'
" FuzzyFinder
let g:fuf_modesDisable = ['mrucmd']
let g:fuf_keyOpenSplit = '<CR>'
nnoremap <silent> ff :<C-u>FufFile!<C-r>=expand('%:~:.')[:-1-len(expand('%:~:.:t'))]<CR><CR>
nnoremap <silent> fb :<C-u>FufBuffer!<CR>
nnoremap <silent> fm :<C-u>FufMruFile!<CR>
augroup FufAutoCommand
autocmd!
autocmd FileType fuf :imap <buffer> <Tab> <C-n><C-@>
autocmd FileType fuf :imap <buffer> <S-Tab> <C-p><C-@>
augroup END
syntax on
set nu
colorscheme koehler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment