Skip to content

Instantly share code, notes, and snippets.

@thiagomoretto
Last active December 15, 2015 02:24
Show Gist options
  • Save thiagomoretto/bb93d9f4a8c79e40799b to your computer and use it in GitHub Desktop.
Save thiagomoretto/bb93d9f4a8c79e40799b to your computer and use it in GitHub Desktop.

Revisions

  1. thiagomoretto revised this gist Dec 15, 2015. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -240,6 +240,14 @@ let g:pymode_lint_message = 1

    " doc
    let g:pymode_doc = 0
    let g:pymode_rope_completion = 1
    set completeopt=menu

    " If you prefer the Omni-Completion tip window to close when a selection is
    " made, these lines close it on movement in insert mode or when leaving
    " insert mode
    autocmd CursorMovedI * if pumvisible() == 0|pclose|endif
    autocmd InsertLeave * if pumvisible() == 0|pclose|endif

    " python-mode bindings
    map <leader>j :RopeGotoDefinition<CR>
  2. thiagomoretto revised this gist Dec 12, 2015. 1 changed file with 35 additions and 1 deletion.
    36 changes: 35 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -209,4 +209,38 @@ function! Bclose()
    if buflisted(curbufnr)
    execute("bdelete! " . curbufnr)
    endif
    endfunction
    endfunction

    " Added Dec-10
    map <c-j> <c-w>j
    map <c-k> <c-w>k
    map <c-l> <c-w>l
    map <c-h> <c-w>h
    " Python-mode
    " Activate rope
    " Keys:
    " K Show python docs
    " <Ctrl-Space> Rope autocomplete
    " <Ctrl-c>g Rope goto definition
    " <Ctrl-c>d Rope show documentation
    " <Ctrl-c>f Rope find occurrences
    " <Leader>b Set, unset breakpoint (g:pymode_breakpoint enabled)
    " [[ Jump on previous class or function (normal, visual, operator modes)
    " ]] Jump on next class or function (normal, visual, operator modes)
    " [M Jump on previous class or method (normal, visual, operator modes)
    " ]M Jump on next class or method (normal, visual, operator modes)
    let g:pymode_folding = 0

    " lint/checkers
    let g:pymode_lint_on_write = 1
    let g:pymode_lint_checkers = ['pep8', 'pyflakes']
    let g:pymode_lint_cwindow = 0
    let g:pymode_lint_message = 1

    " doc
    let g:pymode_doc = 0

    " python-mode bindings
    map <leader>j :RopeGotoDefinition<CR>
    map <leader>r :RopeRename<CR>
  3. thiagomoretto revised this gist Dec 8, 2015. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion .gvimrc
    Original file line number Diff line number Diff line change
    @@ -13,4 +13,8 @@ imap <D-s> <ESC>:w<CR> " insert mode
    nmap <D-s> :w<CR> " normal mode
    macm File.Close key=<nop>
    nmap <D-w> :call Bclose()<CR>
    nmap <D-w> :call Bclose()<CR>
    macm File.New\ Tab key=<nop>
    imap <D-t> <ESC>:enew<CR>
    nmap <D-t> :enew<CR>
  4. thiagomoretto revised this gist Dec 8, 2015. 1 changed file with 22 additions and 1 deletion.
    23 changes: 22 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -188,4 +188,25 @@ endif
    " easytags
    let g:easytags_async = 1
    let g:easytags_auto_highlight = 0
    let g:easytags_opts = ['-R', '--language-force=python', '--python-kinds=-i']
    let g:easytags_opts = ['-R', '--language-force=python', '--python-kinds=-i']

    " Bclose() {{{2
    " delete buffer without closing window
    function! Bclose()
    let curbufnr = bufnr("%")
    let altbufnr = bufnr("#")

    if buflisted(altbufnr)
    buffer #
    else
    bnext
    endif

    if bufnr("%") == curbufnr
    new
    endif

    if buflisted(curbufnr)
    execute("bdelete! " . curbufnr)
    endif
    endfunction
  5. thiagomoretto revised this gist Dec 8, 2015. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion .gvimrc
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,11 @@ nmap <D-{> :bprev<CR>
    map <D-\|> :blast <CR>
    map <D-+> :BufExplorer<CR>
    map <D-S-BS> :bdelete<CR>
    map <D-S-BS> :bdelete<CR>
    macm File.Save key=<nop>
    imap <D-s> <ESC>:w<CR> " insert mode
    nmap <D-s> :w<CR> " normal mode
    macm File.Close key=<nop>
    nmap <D-w> :call Bclose()<CR>
  6. thiagomoretto revised this gist Dec 5, 2015. 1 changed file with 86 additions and 59 deletions.
    145 changes: 86 additions & 59 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -13,16 +13,15 @@ Plugin 'bling/vim-airline'
    Plugin 'airblade/vim-gitgutter'
    Plugin 'easymotion/vim-easymotion'
    Plugin 'scrooloose/nerdtree'
    Bundle 'jistr/vim-nerdtree-tabs'
    Plugin 'scrooloose/nerdcommenter'
    Plugin 'flazz/vim-colorschemes'
    Plugin 'altercation/vim-colors-solarized'
    Plugin 'kien/ctrlp.vim'
    Plugin 'majutsushi/tagbar'
    "Plugin 'fholgado/minibufexpl.vim'
    " Plugin 'fholgado/minibufexpl.vim'
    Plugin 'ervandew/supertab'
    Plugin 'tpope/vim-surround'
    Plugin 'scrooloose/syntastic'
    Plugin 'ntpeters/vim-better-whitespace'
    Plugin 'mileszs/ack.vim'
    Plugin 'DavidEGx/ctrlp-smarttabs'
    Plugin 'xolox/vim-easytags'
    @@ -32,45 +31,14 @@ Plugin 'xolox/vim-misc'
    Plugin 'nvie/vim-flake8'
    Plugin 'hdima/python-syntax'

    " Ruby
    Plugin 'tpope/vim-rails'
    Plugin 'vim-ruby/vim-ruby'

    " Clojure
    Plugin 'paredit.vim'
    Plugin 'tpope/vim-fireplace'
    Plugin 'guns/vim-clojure-static'
    Plugin 'guns/vim-clojure-highlight'
    Plugin 'tpope/vim-salve'
    Plugin 'tpope/vim-classpath'
    Plugin 'kien/rainbow_parentheses.vim'

    call vundle#end()

    " vim
    filetype plugin indent on
    syntax on
    set tabstop=2 shiftwidth=2 expandtab
    set backspace=indent,eol,start
    set mouse=a
    set expandtab
    set nu
    set enc=utf-8
    set fileencoding=utf-8
    set fileencodings=ucs-bom,utf8,prc
    set hidden

    " airline
    let g:airline#extensions#tabline#enabled = 1
    let g:airline_powerline_fonts = 1
    set laststatus=2

    " airline tabline
    let g:airline#extensions#tabline#buffer_idx_mode = 1

    " tagbar
    nmap <F8> :TagbarToggle<CR>
    " flake8
    let g:flake8_show_in_gutter = 1
    let g:flake8_show_in_file = 1
    @@ -85,38 +53,36 @@ set background=dark
    nmap s <Plug>(easymotion-s)
    let g:EasyMotion_smartcase = 1

    " nerdtree
    let NERDTreeIgnore = ['\.pyc$']

    " ctrlp
    set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.pyc
    let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn|pyc|class)$'
    let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']

    " syntastic
    set statusline+=%#warningmsg#
    set statusline+=%{SyntasticStatuslineFlag()}
    set statusline+=%*
    " vim
    filetype plugin on
    syntax on
    set tabstop=4 shiftwidth=4 expandtab
    set backspace=indent,eol,start
    set mouse=a
    set ts=2
    set expandtab
    set nu
    set ai
    set si

    let g:syntastic_always_populate_loc_list = 1
    let g:syntastic_auto_loc_list = 1
    let g:syntastic_check_on_open = 1
    let g:syntastic_check_on_wq = 0
    " tagbar
    nmap <F8> :TagbarToggle<CR>
    " rainbow
    let g:rbpt_max = 16
    autocmd Syntax clojure EnableSyntaxExtension
    au VimEnter * RainbowParenthesesToggle
    au Syntax * RainbowParenthesesLoadRound
    au Syntax * RainbowParenthesesLoadSquare
    au Syntax * RainbowParenthesesLoadBraces
    " nerdtree
    let NERDTreeIgnore = ['\.pyc$']

    " ctrlp smarttabs
    let g:ctrlp_extensions = ['smarttabs']

    " mappings
    nnoremap <F3> :CtrlPSmartTabs<CR>
    " airline tabline
    set hidden
    let g:airline#extensions#tabline#buffer_idx_mode = 1
    nmap <leader>' :enew<cr>
    nmap <leader>] :bnext<CR>
    nmap <leader>[ :bprevious<CR>
    @@ -143,19 +109,80 @@ nnoremap qw :silent! normal mpea'<Esc>bi'<Esc>`pl
    nnoremap qd :silent! normal mpea"<Esc>bi"<Esc>`pl
    " remove quotes from a word
    nnoremap wq :silent! normal mpeld bhd `ph<CR>
    nnoremap pw :silent! normal mpea)<Esc>bi(<Esc>`pl
    nnoremap [w :silent! normal mpea]<Esc>bi[<Esc>`pl
    " for command mode
    nnoremap <S-Tab> <<
    " for insert mode
    " " for insert mode
    inoremap <S-Tab> <C-d>
    if has("gui_running")
    let s:uname = system("uname")
    if s:uname == "Darwin\n"
    set guifont=Meslo\ LG\ M\ DZ\ Regular\ for\ Powerline:h14
    endif
    let s:uname = system("uname")
    if s:uname == "Darwin\n"
    set guifont=Meslo\ LG\ M\ DZ\ Regular\ for\ Powerline:h14
    endif
    set guioptions-=r " Remove scrollbars
    set guioptions-=R " Remove scrollbars
    set guioptions-=l " Remove scrollbars
    set guioptions-=L " Remove scrollbars
    set guioptions-=T " Remove toolbars

    " Awesome visual selection maintained when indenting.
    vmap <D-]> >gv
    vmap <D-[> <gv
    " Map Command-# to switch tabs
    map <D-0> 0gt
    imap <D-0> <Esc>0gt
    map <D-1> 1gt
    imap <D-1> <Esc>1gt
    map <D-2> 2gt
    imap <D-2> <Esc>2gt
    map <D-3> 3gt
    imap <D-3> <Esc>3gt
    map <D-4> 4gt
    imap <D-4> <Esc>4gt
    map <D-5> 5gt
    imap <D-5> <Esc>5gt
    map <D-6> 6gt
    imap <D-6> <Esc>6gt
    map <D-7> 7gt
    imap <D-7> <Esc>7gt
    map <D-8> 8gt
    imap <D-8> <Esc>8gt
    map <D-9> 9gt
    imap <D-9> <Esc>9gt
    endif

    " from Vimbox
    vmap <D-/> <c-_><c-_>
    vmap <D-s-/> <c-_>b
    nmap <D-/> gc$
    vmap <C-c> "y+
    " nerdtree
    let g:nerdtree_tabs_focus_on_files = 1
    let g:nerdtree_tabs_open_on_gui_startup = 0
    if has("gui_running")
    if has("gui_macvim")
    map <D-e> :NERDTreeTabsToggle<Cr><c-w><c-w><c-w><c-p>
    imap <D-e> <Esc>:NERDTreeTabsToggle<Cr><c-w><c-w><c-w><c-p>
    vmap <D-e> <Esc>:NERDTreeTabsToggle<Cr><c-w><c-w><c-w><c-p>
    nmap <D-e> <Esc>:NERDTreeTabsToggle<Cr><c-w><c-w><c-w><c-p>
    map <D-E> :NERDTreeTabsOpen<Cr>:NERDTreeTabsFind<Cr><c-w><c-w><c-w><c-p>
    imap <D-E> <Esc>:NERDTreeTabsOpen<Cr>:NERDTreeTabsFind<Cr><c-w><c-w><c-w><c-p>
    vmap <D-E> <Esc>:NERDTreeTabsOpen<Cr>:NERDTreeTabsFind<Cr><c-w><c-w><c-w><c-p>
    nmap <D-E> <Esc>:NERDTreeTabsOpen<Cr>:NERDTreeTabsFind<Cr><c-w><c-w><c-w><c-p>
    endif
    if has("gui_win32")
    map <F11> :NERDTreeTabsToggle<Cr><c-w><c-w><c-w><c-p>
    imap <F11> <Esc>:NERDTreeTabsToggle<Cr><c-w><c-w><c-w><c-p>
    vmap <F11> <Esc>:NERDTreeTabsToggle<Cr><c-w><c-w><c-w><c-p>
    nmap <F11> <Esc>:NERDTreeTabsToggle<Cr><c-w><c-w><c-w><c-p>
    endif
    endif

    " easytags
  7. thiagomoretto revised this gist Dec 3, 2015. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -23,6 +23,10 @@ Plugin 'ervandew/supertab'
    Plugin 'tpope/vim-surround'
    Plugin 'scrooloose/syntastic'
    Plugin 'ntpeters/vim-better-whitespace'
    Plugin 'mileszs/ack.vim'
    Plugin 'DavidEGx/ctrlp-smarttabs'
    Plugin 'xolox/vim-easytags'
    Plugin 'xolox/vim-misc'

    " Python
    Plugin 'nvie/vim-flake8'
    @@ -152,4 +156,9 @@ if has("gui_running")
    if s:uname == "Darwin\n"
    set guifont=Meslo\ LG\ M\ DZ\ Regular\ for\ Powerline:h14
    endif
    endif
    endif

    " easytags
    let g:easytags_async = 1
    let g:easytags_auto_highlight = 0
    let g:easytags_opts = ['-R', '--language-force=python', '--python-kinds=-i']
  8. thiagomoretto revised this gist Nov 30, 2015. 2 changed files with 16 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions .gvimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    macm Window.Select\ Next\ Tab key=<nop>
    nmap <D-}> :bnext<CR>
    macm Window.Select\ Previous\ Tab key=<nop>
    nmap <D-{> :bprev<CR>
    map <D-\|> :blast <CR>
    map <D-+> :BufExplorer<CR>
    map <D-S-BS> :bdelete<CR>
    7 changes: 7 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -146,3 +146,10 @@ nnoremap [w :silent! normal mpea]<Esc>bi[<Esc>`pl
    nnoremap <S-Tab> <<
    " for insert mode
    inoremap <S-Tab> <C-d>
    if has("gui_running")
    let s:uname = system("uname")
    if s:uname == "Darwin\n"
    set guifont=Meslo\ LG\ M\ DZ\ Regular\ for\ Powerline:h14
    endif
    endif
  9. thiagomoretto revised this gist Nov 30, 2015. 1 changed file with 56 additions and 22 deletions.
    78 changes: 56 additions & 22 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -18,24 +18,55 @@ Plugin 'flazz/vim-colorschemes'
    Plugin 'altercation/vim-colors-solarized'
    Plugin 'kien/ctrlp.vim'
    Plugin 'majutsushi/tagbar'
    " Plugin 'fholgado/minibufexpl.vim'
    "Plugin 'fholgado/minibufexpl.vim'
    Plugin 'ervandew/supertab'
    Plugin 'tpope/vim-surround'
    Plugin 'mileszs/ack.vim'
    Plugin 'DavidEGx/ctrlp-smarttabs'
    Plugin 'scrooloose/syntastic'
    Plugin 'ntpeters/vim-better-whitespace'

    " Python
    Plugin 'nvie/vim-flake8'
    Plugin 'hdima/python-syntax'

    " Ruby
    Plugin 'tpope/vim-rails'
    Plugin 'vim-ruby/vim-ruby'

    " Clojure
    Plugin 'paredit.vim'
    Plugin 'tpope/vim-fireplace'
    Plugin 'guns/vim-clojure-static'
    Plugin 'guns/vim-clojure-highlight'
    Plugin 'tpope/vim-salve'
    Plugin 'tpope/vim-classpath'
    Plugin 'kien/rainbow_parentheses.vim'

    call vundle#end()

    " vim
    filetype plugin indent on
    syntax on
    set tabstop=2 shiftwidth=2 expandtab
    set backspace=indent,eol,start
    set mouse=a
    set expandtab
    set nu
    set enc=utf-8
    set fileencoding=utf-8
    set fileencodings=ucs-bom,utf8,prc
    set hidden

    " airline
    let g:airline#extensions#tabline#enabled = 1
    let g:airline_powerline_fonts = 1
    set laststatus=2

    " airline tabline
    let g:airline#extensions#tabline#buffer_idx_mode = 1

    " tagbar
    nmap <F8> :TagbarToggle<CR>
    " flake8
    let g:flake8_show_in_gutter = 1
    let g:flake8_show_in_file = 1
    @@ -50,34 +81,38 @@ set background=dark
    nmap s <Plug>(easymotion-s)
    let g:EasyMotion_smartcase = 1

    " nerdtree
    let NERDTreeIgnore = ['\.pyc$']

    " ctrlp
    set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.pyc
    let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn|pyc|class)$'
    let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']

    " vim
    filetype plugin on
    syntax on
    set tabstop=4 shiftwidth=4 expandtab
    set backspace=indent,eol,start
    set mouse=a
    set ts=2
    set expandtab
    set nu
    " syntastic
    set statusline+=%#warningmsg#
    set statusline+=%{SyntasticStatuslineFlag()}
    set statusline+=%*

    " tagbar
    nmap <F8> :TagbarToggle<CR>
    let g:syntastic_always_populate_loc_list = 1
    let g:syntastic_auto_loc_list = 1
    let g:syntastic_check_on_open = 1
    let g:syntastic_check_on_wq = 0

    " nerdtree
    let NERDTreeIgnore = ['\.pyc$']
    " rainbow
    let g:rbpt_max = 16
    autocmd Syntax clojure EnableSyntaxExtension
    au VimEnter * RainbowParenthesesToggle
    au Syntax * RainbowParenthesesLoadRound
    au Syntax * RainbowParenthesesLoadSquare
    au Syntax * RainbowParenthesesLoadBraces

    " ctrlp smarttabs
    let g:ctrlp_extensions = ['smarttabs']

    " mappings
    nnoremap <F3> :CtrlPSmartTabs<CR>
    " airline tabline
    set hidden
    let g:airline#extensions#tabline#buffer_idx_mode = 1
    nmap <leader>' :enew<cr>
    nmap <leader>] :bnext<CR>
    nmap <leader>[ :bprevious<CR>
    @@ -104,11 +139,10 @@ nnoremap qw :silent! normal mpea'<Esc>bi'<Esc>`pl
    nnoremap qd :silent! normal mpea"<Esc>bi"<Esc>`pl
    " remove quotes from a word
    nnoremap wq :silent! normal mpeld bhd `ph<CR>
    nnoremap pw :silent! normal mpea)<Esc>bi(<Esc>`pl
    nnoremap [w :silent! normal mpea]<Esc>bi[<Esc>`pl
    " for command mode
    nnoremap <S-Tab> <<
    " " for insert mode
    inoremap <S-Tab> <C-d>
    " for insert mode
    inoremap <S-Tab> <C-d>
  10. thiagomoretto revised this gist Nov 28, 2015. 1 changed file with 39 additions and 1 deletion.
    40 changes: 39 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -18,9 +18,11 @@ Plugin 'flazz/vim-colorschemes'
    Plugin 'altercation/vim-colors-solarized'
    Plugin 'kien/ctrlp.vim'
    Plugin 'majutsushi/tagbar'
    Plugin 'fholgado/minibufexpl.vim'
    " Plugin 'fholgado/minibufexpl.vim'
    Plugin 'ervandew/supertab'
    Plugin 'tpope/vim-surround'
    Plugin 'mileszs/ack.vim'
    Plugin 'DavidEGx/ctrlp-smarttabs'

    " Python
    Plugin 'nvie/vim-flake8'
    @@ -63,6 +65,37 @@ set ts=2
    set expandtab
    set nu

    " tagbar
    nmap <F8> :TagbarToggle<CR>
    " nerdtree
    let NERDTreeIgnore = ['\.pyc$']

    " ctrlp smarttabs
    let g:ctrlp_extensions = ['smarttabs']
    nnoremap <F3> :CtrlPSmartTabs<CR>
    " airline tabline
    set hidden
    let g:airline#extensions#tabline#buffer_idx_mode = 1
    nmap <leader>' :enew<cr>
    nmap <leader>] :bnext<CR>
    nmap <leader>[ :bprevious<CR>
    nnoremap <F11> :bprevious<CR>
    nnoremap <F12> :bnext<CR>
    nnoremap <C-,> :bprevious<CR>
    nnoremap <C-.> :bnext<CR>
    " Close the current buffer and move to the previous one
    " This replicates the idea of closing a tab
    nmap <leader>bq :bp <BAR> bd #<CR>
    " Show all open buffers and their status
    nmap <leader>bl :ls<CR>
    " ipdb
    cnoreabbrev ipdbclear g/ipdb/d

    " quote a word
    @@ -74,3 +107,8 @@ nnoremap wq :silent! normal mpeld bhd `ph<CR>
    nnoremap pw :silent! normal mpea)<Esc>bi(<Esc>`pl
    nnoremap [w :silent! normal mpea]<Esc>bi[<Esc>`pl
    " for command mode
    nnoremap <S-Tab> <<
    " " for insert mode
    inoremap <S-Tab> <C-d>
  11. thiagomoretto created this gist Nov 12, 2015.
    76 changes: 76 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,76 @@
    set nocompatible
    filetype off

    set rtp+=~/.vim/bundle/Vundle.vim
    call vundle#begin()

    " let Vundle manage Vundle, required
    Plugin 'VundleVim/Vundle.vim'

    " Plugins
    Plugin 'tpope/vim-fugitive'
    Plugin 'bling/vim-airline'
    Plugin 'airblade/vim-gitgutter'
    Plugin 'easymotion/vim-easymotion'
    Plugin 'scrooloose/nerdtree'
    Plugin 'scrooloose/nerdcommenter'
    Plugin 'flazz/vim-colorschemes'
    Plugin 'altercation/vim-colors-solarized'
    Plugin 'kien/ctrlp.vim'
    Plugin 'majutsushi/tagbar'
    Plugin 'fholgado/minibufexpl.vim'
    Plugin 'ervandew/supertab'
    Plugin 'tpope/vim-surround'

    " Python
    Plugin 'nvie/vim-flake8'
    Plugin 'hdima/python-syntax'

    call vundle#end()
    filetype plugin indent on

    " airline
    let g:airline#extensions#tabline#enabled = 1
    let g:airline_powerline_fonts = 1
    set laststatus=2

    " flake8
    let g:flake8_show_in_gutter = 1
    let g:flake8_show_in_file = 1

    " python
    let python_highlight_all = 1

    " theme
    set background=dark

    " easymotion
    nmap s <Plug>(easymotion-s)
    let g:EasyMotion_smartcase = 1

    " ctrlp
    set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.pyc
    let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn|pyc|class)$'
    let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']

    " vim
    filetype plugin on
    syntax on
    set tabstop=4 shiftwidth=4 expandtab
    set backspace=indent,eol,start
    set mouse=a
    set ts=2
    set expandtab
    set nu

    cnoreabbrev ipdbclear g/ipdb/d

    " quote a word
    nnoremap qw :silent! normal mpea'<Esc>bi'<Esc>`pl
    " double quote a word
    nnoremap qd :silent! normal mpea"<Esc>bi"<Esc>`pl
    " remove quotes from a word
    nnoremap wq :silent! normal mpeld bhd `ph<CR>
    nnoremap pw :silent! normal mpea)<Esc>bi(<Esc>`pl
    nnoremap [w :silent! normal mpea]<Esc>bi[<Esc>`pl
    213 changes: 213 additions & 0 deletions solarized-dark-fixed.itermcolors
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,213 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Ansi 0 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.19370138645172119</real>
    <key>Green Component</key>
    <real>0.15575926005840302</real>
    <key>Red Component</key>
    <real>0.0</real>
    </dict>
    <key>Ansi 1 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.14145714044570923</real>
    <key>Green Component</key>
    <real>0.10840655118227005</real>
    <key>Red Component</key>
    <real>0.81926977634429932</real>
    </dict>
    <key>Ansi 10 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.38298487663269043</real>
    <key>Green Component</key>
    <real>0.35665956139564514</real>
    <key>Red Component</key>
    <real>0.27671992778778076</real>
    </dict>
    <key>Ansi 11 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.43850564956665039</real>
    <key>Green Component</key>
    <real>0.40717673301696777</real>
    <key>Red Component</key>
    <real>0.32436618208885193</real>
    </dict>
    <key>Ansi 12 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.51685798168182373</real>
    <key>Green Component</key>
    <real>0.50962930917739868</real>
    <key>Red Component</key>
    <real>0.44058024883270264</real>
    </dict>
    <key>Ansi 13 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.72908437252044678</real>
    <key>Green Component</key>
    <real>0.33896297216415405</real>
    <key>Red Component</key>
    <real>0.34798634052276611</real>
    </dict>
    <key>Ansi 14 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.56363654136657715</real>
    <key>Green Component</key>
    <real>0.56485837697982788</real>
    <key>Red Component</key>
    <real>0.50599193572998047</real>
    </dict>
    <key>Ansi 15 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.86405980587005615</real>
    <key>Green Component</key>
    <real>0.95794391632080078</real>
    <key>Red Component</key>
    <real>0.98943418264389038</real>
    </dict>
    <key>Ansi 2 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.020208755508065224</real>
    <key>Green Component</key>
    <real>0.54115492105484009</real>
    <key>Red Component</key>
    <real>0.44977453351020813</real>
    </dict>
    <key>Ansi 3 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.023484811186790466</real>
    <key>Green Component</key>
    <real>0.46751424670219421</real>
    <key>Red Component</key>
    <real>0.64746475219726562</real>
    </dict>
    <key>Ansi 4 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.78231418132781982</real>
    <key>Green Component</key>
    <real>0.46265947818756104</real>
    <key>Red Component</key>
    <real>0.12754884362220764</real>
    </dict>
    <key>Ansi 5 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.43516635894775391</real>
    <key>Green Component</key>
    <real>0.10802463442087173</real>
    <key>Red Component</key>
    <real>0.77738940715789795</real>
    </dict>
    <key>Ansi 6 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.52502274513244629</real>
    <key>Green Component</key>
    <real>0.57082360982894897</real>
    <key>Red Component</key>
    <real>0.14679534733295441</real>
    </dict>
    <key>Ansi 7 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.79781103134155273</real>
    <key>Green Component</key>
    <real>0.89001238346099854</real>
    <key>Red Component</key>
    <real>0.91611063480377197</real>
    </dict>
    <key>Ansi 8 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.53505516052246094</real>
    <key>Green Component</key>
    <real>0.39142724871635437</real>
    <key>Red Component</key>
    <real>0.0</real>
    </dict>
    <key>Ansi 9 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.073530435562133789</real>
    <key>Green Component</key>
    <real>0.21325300633907318</real>
    <key>Red Component</key>
    <real>0.74176257848739624</real>
    </dict>
    <key>Background Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.15170273184776306</real>
    <key>Green Component</key>
    <real>0.11783610284328461</real>
    <key>Red Component</key>
    <real>0.0</real>
    </dict>
    <key>Bold Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.56363654136657715</real>
    <key>Green Component</key>
    <real>0.56485837697982788</real>
    <key>Red Component</key>
    <real>0.50599193572998047</real>
    </dict>
    <key>Cursor Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.51685798168182373</real>
    <key>Green Component</key>
    <real>0.50962930917739868</real>
    <key>Red Component</key>
    <real>0.44058024883270264</real>
    </dict>
    <key>Cursor Text Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.19370138645172119</real>
    <key>Green Component</key>
    <real>0.15575926005840302</real>
    <key>Red Component</key>
    <real>0.0</real>
    </dict>
    <key>Foreground Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.51685798168182373</real>
    <key>Green Component</key>
    <real>0.50962930917739868</real>
    <key>Red Component</key>
    <real>0.44058024883270264</real>
    </dict>
    <key>Selected Text Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.56363654136657715</real>
    <key>Green Component</key>
    <real>0.56485837697982788</real>
    <key>Red Component</key>
    <real>0.50599193572998047</real>
    </dict>
    <key>Selection Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.19370138645172119</real>
    <key>Green Component</key>
    <real>0.15575926005840302</real>
    <key>Red Component</key>
    <real>0.0</real>
    </dict>
    </dict>
    </plist>