Last active
December 31, 2016 06:21
-
-
Save NeMO84/d30c6c7d5df61f57d08d56261320a873 to your computer and use it in GitHub Desktop.
This file contains 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
" yank to clipboard | |
if has("clipboard") | |
set clipboard=unnamed " copy to the system clipboard | |
if has("unnamedplus") " X11 support | |
set clipboard+=unnamedplus | |
endif | |
endif | |
" Select your Leader key | |
let mapleader = "\<Space>" | |
" Custom Maps | |
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> | |
nnoremap / :Commentary<CR> | |
vnoremap / :Commentary<CR> | |
nnoremap <Leader>k :NERDTreeToggle<CR> | |
nnoremap <Leader>o :FZF<CR> | |
nnoremap <Leader>b :CtrlPBuffer<CR> | |
nnoremap <Leader>f :CtrlPMRUFiles<CR> | |
" SplitPane | |
set splitbelow | |
set splitright | |
" Tabs | |
setlocal noexpandtab | |
setlocal shiftround | |
setlocal autoindent | |
let s:tabwidth=2 | |
let &l:tabstop = s:tabwidth | |
let &l:shiftwidth = s:tabwidth | |
let &l:softtabstop = s:tabwidth | |
let $NVIM_TUI_ENABLE_TRUE_COLOR=1 | |
call plug#begin() | |
Plug 'scrooloose/nerdtree' | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug 'godlygeek/tabular' | |
Plug 'bling/vim-airline' | |
Plug 'tpope/vim-surround' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | |
Plug 'Shougo/neosnippet.vim' | |
Plug 'Shougo/neosnippet-snippets' | |
Plug 'tpope/vim-unimpaired' | |
Plug 'kien/ctrlp.vim' | |
Plug 'tpope/vim-commentary' | |
call plug#end() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment