initial commit
This commit is contained in:
commit
c4bcaa49cf
22 changed files with 500 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.localcommands
|
1
.vim/bundle/SimpylFold
Submodule
1
.vim/bundle/SimpylFold
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit aa0371d9d708388f3ba385ccc67a7504586a20d9
|
1
.vim/bundle/Vundle.vim
Submodule
1
.vim/bundle/Vundle.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 9a38216a1c0c597f978d73547d37681fc689c90d
|
1
.vim/bundle/YouCompleteMe
Submodule
1
.vim/bundle/YouCompleteMe
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 15362d9cb8ec054c929e9a202252825eabe47e58
|
1
.vim/bundle/Zenburn
Submodule
1
.vim/bundle/Zenburn
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 2cacfcb222d9db34a8d1a13bb8bb814f039b98cd
|
1
.vim/bundle/ctrlp.vim
Submodule
1
.vim/bundle/ctrlp.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 564176f01d7f3f7f8ab452ff4e1f5314de7b0981
|
1
.vim/bundle/indentpython.vim
Submodule
1
.vim/bundle/indentpython.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 6aaddfde21fe9e7acbe448b92b3cbb67f2fe1fc1
|
1
.vim/bundle/nerdtree
Submodule
1
.vim/bundle/nerdtree
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e653a682705234e9bffac0c32995f339e66df684
|
1
.vim/bundle/onehalf
Submodule
1
.vim/bundle/onehalf
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 2516b37c3f201f3d9f2ee194f00fbb20c1ca7413
|
1
.vim/bundle/powerline
Submodule
1
.vim/bundle/powerline
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 616ea816c86828d3a1e846da99a958237108da55
|
1
.vim/bundle/syntastic
Submodule
1
.vim/bundle/syntastic
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 0dde090ed41b383b1fa56f8db49d89e0735b1ca9
|
1
.vim/bundle/vim-airline
Submodule
1
.vim/bundle/vim-airline
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c7fb175d3565159699885653767214a6aa583ea4
|
1
.vim/bundle/vim-airline-themes
Submodule
1
.vim/bundle/vim-airline-themes
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 6e798f9030d0853d484078043ddbb41e611ab7a6
|
1
.vim/bundle/vim-colors-solarized
Submodule
1
.vim/bundle/vim-colors-solarized
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 528a59f26d12278698bb946f8fb82a63711eec21
|
1
.vim/bundle/vim-colorschemes
Submodule
1
.vim/bundle/vim-colorschemes
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit eab315701f4627967fd62582eefc4e37a3745786
|
1
.vim/bundle/vim-easyescape
Submodule
1
.vim/bundle/vim-easyescape
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 7054da8cae2995fb5f834790d3a6c8c880aabc7d
|
1
.vim/bundle/vim-flake8
Submodule
1
.vim/bundle/vim-flake8
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 91818a7d5f5a0af5139e9adfedc9d00fa963e699
|
1
.vim/bundle/vim-fugitive
Submodule
1
.vim/bundle/vim-fugitive
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 7b0aa580905673b57b1bfeab6a260b8193633cf2
|
1
.vim/bundle/vim-nerdtree-tabs
Submodule
1
.vim/bundle/vim-nerdtree-tabs
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 5fc6c6857028a07e8fe50f0adef28fb20218776b
|
255
.vim/colors/luna.vim
Normal file
255
.vim/colors/luna.vim
Normal file
|
@ -0,0 +1,255 @@
|
|||
" Name: Luna vim colorscheme
|
||||
" Author: Pratheek
|
||||
" URL: http://github.com/Pychimp/vim-luna
|
||||
" (see this url for latest release & screenshots)
|
||||
" License: MIT (see LICENSE.rst in the root of project)
|
||||
" Created: In the middle of Earth's Rotation
|
||||
" Version: 0.0.7
|
||||
"
|
||||
"
|
||||
" TODO: {{{
|
||||
" ---------------------------------------------------------------------
|
||||
" -- Clean up !
|
||||
" -- create a terminal version
|
||||
" -- add more lang specifics
|
||||
" -- (Will think of some more sutff !)
|
||||
" }}}
|
||||
"
|
||||
" Usage and Requirements "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
" REQUIREMENTS:
|
||||
" ---------------------------------------------------------------------
|
||||
" Currently,
|
||||
"
|
||||
" This colourscheme is intended for use on:
|
||||
" - gVim >= 7.3 for Linux, Mac and Windows. (Since, all colours are in hex
|
||||
" values, hence works with gvim. Terminal vim will be supported in future)
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" INSTALLATION:
|
||||
" ---------------------------------------------------------------------
|
||||
" Two options for installation: manual or pathogen
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" MANUAL INSTALLATION OPTION:
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" 1. Download the luna distribution (as a zip archive, available on the github page)
|
||||
" and unarchive the file.
|
||||
" 2. Move `colors/luna.vim` to your `.vim/colors` directory.
|
||||
" 3. Enjoy !
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" HIGHLY RECOMMENDED PATHOGEN INSTALLATION OPTION:
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" 1. Download and install Tim Pope's Pathogen from:
|
||||
" https://github.com/tpope/vim-pathogen
|
||||
"
|
||||
" 2. Next, move or clone the `vim-luna` directory so that it is
|
||||
" a subdirectory of the `.vim/bundle` directory.
|
||||
"
|
||||
" a. **clone with git:**
|
||||
"
|
||||
" $ cd ~/.vim/bundle
|
||||
" $ git clone git://github.com/Pychimp/vim-luna.git
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" MODIFY VIMRC:
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" After either manual or pathogen installation, put the following two lines in your
|
||||
" .vimrc:
|
||||
"
|
||||
" syntax enable
|
||||
" colorscheme luna
|
||||
" }}}
|
||||
"
|
||||
" Colorscheme initialization "{{{
|
||||
" ---------------------------------------------------------------------
|
||||
set background=dark
|
||||
highlight clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
let g:colors_name = "luna"
|
||||
" }}}
|
||||
"
|
||||
" Gvim Highlighting: (see :help highlight-groups)"{{{
|
||||
" ---------------------------------------------------------------------
|
||||
" First, the Normal
|
||||
hi Normal guifg=#e5e5e5 guibg=#212121 gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
" The Languages stuff
|
||||
hi Title guifg=#c9f0fa guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
hi Comment guifg=#616161 guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
" hi Constant guifg=#e3588d guibg=NONE gui=NONE
|
||||
hi Constant guifg=#fff159 guibg=NONE gui=NONE
|
||||
hi String guifg=#60bdf4 guibg=NONE gui=NONE
|
||||
hi Character guifg=#ff8da1 guibg=NONE gui=NONE
|
||||
hi Number guifg=#fff159 guibg=NONE gui=NONE
|
||||
hi Boolean guifg=#fff159 guibg=NONE gui=NONE
|
||||
hi Float guifg=#fff159 guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
"hi Identifier guifg=#40ffff guibg=NONE gui=NONE
|
||||
hi Identifier guifg=#00bcbc guibg=NONE gui=NONE
|
||||
hi Function guifg=#00bcbc guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
"hi Statement guifg=#ff8036 guibg=NONE gui=NONE
|
||||
"hi Statement guifg=#ee82ee guibg=NONE gui=NONE
|
||||
"hi Statement guifg=#f26d99 guibg=NONE gui=NONE
|
||||
"hi Statement guifg=#b06bfc guibg=NONE gui=NONE
|
||||
"hi Statement guifg=#f88379 guibg=NONE gui=NONE
|
||||
hi Statement guifg=#f64a8a guibg=NONE gui=NONE
|
||||
"hi Conditional guifg=#c72723 guibg=NONE gui=NONE
|
||||
hi Conditional guifg=#e4d00a guibg=NONE gui=NONE
|
||||
" hi Repeat guifg= guibg=NONE gui=NONE
|
||||
" hi Label guifg= guibg=NONE gui=NONE
|
||||
hi Operator guifg=#ff8036 guibg=NONE gui=NONE
|
||||
" hi Keyword guifg= guibg=NONE gui=NONE
|
||||
hi Exception guifg=#e4d00a guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
hi PreProc guifg=#bada55 guibg=NONE gui=NONE
|
||||
" hi Include guifg= guibg=NONE gui=NONE
|
||||
"hi Define guifg=#bada55 guibg=NONE gui=NONE
|
||||
" hi Macro guifg=#bada55 guibg=NONE gui=NONE
|
||||
" hi PreCondit guifg=#bada55 guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
"hi Type guifg=#26ffa1 guibg=NONE gui=NONE
|
||||
"hi Type guifg=#ff3800 guibg=NONE gui=NONE
|
||||
hi Type guifg=#ff4040 guibg=NONE gui=NONE
|
||||
"hi StorageClass guifg=#f4bbff guibg=NONE gui=NONE
|
||||
hi StorageClass guifg=#da8a67 guibg=NONE gui=NONE
|
||||
" hi Structure guifg= guibg=NONE gui=NONE
|
||||
" hi Typedef guifg= guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
hi Special guifg=#ff8da1 guibg=NONE gui=NONE
|
||||
" hi SpecialChar guifg=#ff8da1 guibg=NONE gui=NONE
|
||||
" hi Tag guifg= guibg=NONE gui=NONE
|
||||
" hi Delimiter guifg= guibg=NONE gui=NONE
|
||||
" hi SpecialComment guifg= guibg=NONE gui=NONE
|
||||
" hi Debug guifg= guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
hi Underlined guifg=#80a0ff guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
" hi Ignore guifg= guibg=NONE gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
hi Error guifg=#870000 guibg=#ffa40b gui=NONE
|
||||
" ---------------------------------------------------------------------
|
||||
hi TODO guifg=#ff0087 guibg=#ffff87 gui=NONE
|
||||
|
||||
" ---------------------------------------------------------------------
|
||||
" Extended Highlighting
|
||||
|
||||
hi NonText guifg=#838383 guibg=NONE gui=NONE
|
||||
hi Visual guifg=#262626 guibg=#ffff4d gui=NONE
|
||||
hi ErrorMsg guifg=#870000 guibg=#ffa40b gui=NONE
|
||||
hi IncSearch guifg=#262626 guibg=#ff9933 gui=NONE
|
||||
hi Search guifg=#262626 guibg=#ff9933 gui=NONE
|
||||
hi MoreMsg guifg=#616161 guibg=NONE gui=NONE
|
||||
hi ModeMsg guifg=#616161 guibg=NONE gui=NONE
|
||||
hi LineNr guifg=#838383 guibg=NONE gui=NONE
|
||||
hi VertSplit guifg=#212121 guibg=#474747 gui=NONE
|
||||
hi VisualNOS guifg=#262626 guibg=#ffff4d gui=NONE
|
||||
"hi Folded guifg=#2e4545 guibg=#1e2d2d gui=NONE
|
||||
hi Folded guifg=#426464 guibg=#1e2d2d gui=NONE
|
||||
hi DiffAdd guifg=#ffffff guibg=#006600 gui=NONE
|
||||
hi DiffChange guifg=#ffffff guibg=#007878 gui=NONE
|
||||
hi DiffDelete guifg=#ff0101 guibg=#9a0000 gui=NONE
|
||||
hi DiffText guifg=#000000 guibg=#ffb733 gui=NONE
|
||||
hi SpellBad guifg=#d80000 guibg=#ffff9a gui=NONE
|
||||
hi SpellCap guifg=#8b4600 guibg=#ffff9a gui=NONE
|
||||
hi SpellRare guifg=#ff0000 guibg=#ffff9a gui=NONE
|
||||
hi SpellLocal guifg=#008b00 guibg=#ffff9a gui=NONE
|
||||
" hi StatusLine guifg=#000000 guibg=#8d8d8d gui=NONE
|
||||
" hi StatusLine guifg=#ffffff guibg=#2e4545 gui=NONE
|
||||
" hi StatusLine guifg=#ffffff guibg=#1e2d2d gui=NONE
|
||||
" hi StatusLine guifg=#ffffff guibg=#353535 gui=NONE
|
||||
" hi StatusLine guifg=#ffffff guibg=#1f2e2e gui=NONE
|
||||
hi StatusLine guifg=#ffffff guibg=#002b2b gui=NONE
|
||||
hi StatusLineNC guifg=#ffffff guibg=#474747 gui=NONE
|
||||
" hi Pmenu guifg=#586e75 guibg=#fdf6e3 gui=NONE
|
||||
" hi PmenuSel guifg=#fdf6e3 guibg=#2aa198 gui=NONE
|
||||
" hi PmenuSbar guifg=#fdf6e3 guibg=#fdf6e3 gui=NONE
|
||||
" hi PmenuThumb guifg=#fdf6e3 guibg=#fdf6e3 gui=NONE
|
||||
" hi Pmenu guifg=#426464 guibg=#002b2b gui=NONE
|
||||
" hi Pmenu guifg=#609292 guibg=#002b2b gui=NONE
|
||||
hi Pmenu guifg=#7ca9a9 guibg=#002b2b gui=NONE
|
||||
hi PmenuSel guifg=#002b2b guibg=#fdf6e3 gui=NONE
|
||||
hi PmenuSbar guifg=#002b2b guibg=#002b2b gui=NONE
|
||||
hi PmenuThumb guifg=#002b2b guibg=#002b2b gui=NONE
|
||||
hi MatchParen guifg=#000000 guibg=#ff4040 gui=NONE
|
||||
hi CursorLine guifg=NONE guibg=#2e2e2e gui=NONE
|
||||
"hi CursorLineNr guifg=#50c878 guibg=#2e2e2e gui=NONE
|
||||
"hi CursorLineNr guifg=#3eb489 guibg=NONE gui=NONE
|
||||
"hi CursorLineNr guifg=#f5fffa guibg=NONE gui=NONE
|
||||
hi CursorLineNr guifg=#87ceeb guibg=NONE gui=NONE
|
||||
hi CursorColumn guifg=NONE guibg=#2e2e2e gui=NONE
|
||||
hi ColorColumn guifg=NONE guibg=#3e3739 gui=NONE
|
||||
hi WildMenu guifg=#002b2b guibg=#ffffff gui=NONE
|
||||
hi SignColumn guifg=NONE guibg=#212121 gui=NONE
|
||||
" }}}
|
||||
"
|
||||
" Language Specifics: {{{
|
||||
" ---------------------------------------------------------------------
|
||||
" These are language specifics. These are set explicitly to override the group
|
||||
" highlighting provided by vim (Simply to make the language that you're working
|
||||
" on more awesome, and fun to work with !)
|
||||
" ---------------------------------------------------------------------
|
||||
" Python Specifics
|
||||
"hi pythonDot guifg=#00ffa5 guibg=NONE gui=NONE
|
||||
"hi pythonDot guifg=#ffff31 guibg=NONE gui=NONE
|
||||
"hi pythonDot guifg=#ff0800 guibg=NONE gui=NONE
|
||||
hi pythonDot guifg=#d70a53 guibg=NONE gui=NONE
|
||||
hi pythonParameters guifg=#bada55 guibg=NONE gui=NONE
|
||||
hi pythonClassParameters guifg=#bada55 guibg=NONE gui=NONE
|
||||
hi pythonClass guifg=#00bcbc guibg=NONE gui=NONE
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" Ruby Specifics
|
||||
hi rubyInterpolation guifg=#ff4040 guibg=NONE gui=NONE
|
||||
"hi rubyMethodBlock guifg=#ff8da1 guibg=NONE gui=NONE
|
||||
"hi rubyMethodBlock guifg=#8ddaff guibg=NONE gui=NONE
|
||||
hi rubyMethodBlock guifg=#ffb28d guibg=NONE gui=NONE
|
||||
hi rubyCurlyBlock guifg=#f64a8a guibg=NONE gui=NONE
|
||||
hi rubyDoBlock guifg=#f64a8a guibg=NONE gui=NONE
|
||||
hi rubyBlockExpression guifg=#f64a8a guibg=NONE gui=NONE
|
||||
hi rubyArrayDelimiter guifg=#00bcbc guibg=NONE gui=NONE
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" }}}
|
||||
"
|
||||
" Extras: {{{
|
||||
" ---------------------------------------------------------------------
|
||||
" These are extra parts for highlighting certain external plugins
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" Startify (https://github.com/mhinz/vim-startify)
|
||||
"
|
||||
hi StartifyBracket guifg=#b06bfc guibg=NONE gui=NONE
|
||||
hi StartifyNumber guifg=#bada55 guibg=NONE gui=NONE
|
||||
hi StartifySpecial guifg=#2e8857 guibg=NONE gui=NONE
|
||||
hi StartifyPath guifg=#545454 guibg=NONE gui=NONE
|
||||
hi StartifySlash guifg=#474747 guibg=NONE gui=NONE
|
||||
" hi StartifyFile guifg=#00ffa5 guibg=NONE gui=NONE
|
||||
" hi StartifyFile guifg=#2aa198 guibg=NONE gui=NONE
|
||||
" hi StartifyFile guifg=#f0e68c guibg=NONE gui=NONE
|
||||
hi StartifyFile guifg=#fa8072 guibg=NONE gui=NONE
|
||||
hi StartifyHeader guifg=#f0e68c guibg=NONE gui=NONE
|
||||
hi StartifyFooter guifg=#a0522d guibg=NONE gui=NONE
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
"
|
||||
" Signify (https://github.com/mhinz/vim-signify)
|
||||
"
|
||||
hi SignifySignAdd guifg=#00ff00 guibg=#212121 gui=NONE
|
||||
hi SignifySignChange guifg=#ff5f00 guibg=#212121 gui=NONE
|
||||
hi SignifySignDelete guifg=#ff0000 guibg=#212121 gui=NONE
|
||||
"
|
||||
" ---------------------------------------------------------------------
|
||||
" }}}
|
||||
"
|
||||
" vim:foldmethod=marker:foldlevel=0:textwidth=79
|
||||
"
|
121
.vimrc
Normal file
121
.vimrc
Normal file
|
@ -0,0 +1,121 @@
|
|||
set nocompatible " required
|
||||
filetype off " required
|
||||
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
|
||||
" let Vundle manage Vundle, required
|
||||
Plugin 'gmarik/Vundle.vim'
|
||||
|
||||
" add all your plugins here (note older versions of Vundle
|
||||
" used Bundle instead of Plugin)
|
||||
|
||||
" Simply Fold
|
||||
Plugin 'tmhedberg/SimpylFold'
|
||||
|
||||
" autodindent python
|
||||
Plugin 'vim-scripts/indentpython.vim'
|
||||
|
||||
" syntax highlighting
|
||||
Plugin 'vim-syntastic/syntastic'
|
||||
|
||||
" pep8 checking
|
||||
Plugin 'nvie/vim-flake8'
|
||||
|
||||
" autocomplete
|
||||
Bundle 'Valloric/YouCompleteMe'
|
||||
|
||||
" search for files
|
||||
Plugin 'ctrlpvim/ctrlp.vim'
|
||||
|
||||
" color schemes
|
||||
Plugin 'flazz/vim-colorschemes'
|
||||
|
||||
" nert-tree
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
|
||||
" git
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
|
||||
" easy escape
|
||||
Plugin 'zhou13/vim-easyescape'
|
||||
|
||||
" powerline
|
||||
Plugin 'vim-airline/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
|
||||
|
||||
" syntax
|
||||
syntax on
|
||||
colorscheme Benokai
|
||||
let g:airline_theme='luna'
|
||||
let python_highlight_all=1
|
||||
|
||||
set number
|
||||
set clipboard=unnamed
|
||||
|
||||
set tabstop=4
|
||||
set wrapmargin=8
|
||||
set softtabstop=0 noexpandtab
|
||||
set shiftwidth=4
|
||||
set backspace=2
|
||||
set backspace=indent,eol,start
|
||||
set encoding=utf-8
|
||||
|
||||
" setup split
|
||||
set splitbelow
|
||||
set splitright
|
||||
|
||||
"split navigations
|
||||
nnoremap <C-J> <C-W><C-J>
|
||||
nnoremap <C-K> <C-W><C-K>
|
||||
nnoremap <C-L> <C-W><C-L>
|
||||
nnoremap <C-H> <C-W><C-H>
|
||||
|
||||
" Enable folding
|
||||
set foldmethod=indent
|
||||
set foldlevel=99
|
||||
|
||||
" remap code folding
|
||||
nnoremap <space> za
|
||||
|
||||
" see docstrings for folded code
|
||||
let g:SimpylFold_docstring_preview=1
|
||||
|
||||
" pep 8 indents
|
||||
au BufNewFile,BufRead *.py
|
||||
\ set tabstop=4 |
|
||||
\ set softtabstop=4 |
|
||||
\ set shiftwidth=4 |
|
||||
\ set textwidth=79 |
|
||||
\ set expandtab |
|
||||
\ set autoindent |
|
||||
\ set fileformat=unix
|
||||
|
||||
" html css js indents
|
||||
au BufNewFile,BufRead *.js, *.html, *.css
|
||||
\ set tabstop=2 |
|
||||
\ set softtabstop=2 |
|
||||
\ set shiftwidth=2
|
||||
|
||||
" you complete me setup
|
||||
let g:ycm_autoclose_preview_window_after_completion=1
|
||||
map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
|
||||
|
||||
" nerd tree setup
|
||||
let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
|
||||
" easyescape setup
|
||||
let g:easyescape_chars = { "j": 1, "k": 1 }
|
||||
let g:easyescape_timeout = 100
|
||||
cnoremap jk <ESC>
|
||||
cnoremap kj <ESC>
|
||||
|
||||
" airline tabs
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
|
105
.zshrc
Normal file
105
.zshrc
Normal file
|
@ -0,0 +1,105 @@
|
|||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/Users/jan/.oh-my-zsh"
|
||||
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||
ZSH_THEME="agnoster"
|
||||
|
||||
# Set list of themes to load
|
||||
# Setting this variable when ZSH_THEME=random
|
||||
# cause zsh load theme from this variable instead of
|
||||
# looking in ~/.oh-my-zsh/themes/
|
||||
# An empty array have no effect
|
||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion. Case
|
||||
# sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||
# DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# export UPDATE_ZSH_DAYS=13
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
# ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# HIST_STAMPS="mm/dd/yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(
|
||||
git
|
||||
pip
|
||||
brew
|
||||
web-search
|
||||
osx
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# ssh
|
||||
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
alias ll='ls -l'
|
||||
alias vi='vim'
|
||||
alias la='ls -la'
|
||||
if [ -e ".localcommands" ]
|
||||
then
|
||||
bash .localcommands
|
||||
fi
|
Loading…
Add table
Reference in a new issue