Skip to content

Instantly share code, notes, and snippets.

@rg3915
Last active January 3, 2017 23:51
Show Gist options
  • Save rg3915/23f97d4ea993d7df614f4f6b51ba2eab to your computer and use it in GitHub Desktop.
Save rg3915/23f97d4ea993d7df614f4f6b51ba2eab to your computer and use it in GitHub Desktop.
my vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
Plugin 'terryma/vim-multiple-cursors'
Plugin 'tpope/vim-commentary' " eg: gc
Plugin 'davidhalter/jedi-vim'
Plugin 'scrooloose/syntastic'
Plugin 'jiangmiao/auto-pairs'
Plugin 'NLKNguyen/copy-cut-paste.vim'
" Visual
Plugin 'bling/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
let g:syntastic_python_checkers = ['flake8']
set nu
set t_Co=256 " color for airline-theme
" copy to clipboard
" vmap <C-c> "+yi
" vmap <C-x> "+c
" vmap <C-v> c<ESC>"+p
" imap <C-v> <ESC>"+pa
" airline
set laststatus=2
let g:airline_theme = 'simple'
" copy
let g:copy_cut_paste_no_mappings = 1
" Use your keymap
nmap <C-S-c> <Plug>CCP_CopyLine
vmap <C-S-c> <Plug>CCP_CopyText
nmap <C-S-x> <Plug>CCP_CutLine
vmap <C-S-x> <Plug>CCP_CutText
nmap <C-S-v> <Plug>CCP_PasteText
" vim +PluginInstall +qall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment