-
-
Save th-lange/ec9e40fefce71066c787 to your computer and use it in GitHub Desktop.
VIM .vimrc #VIM
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
set nocompatible | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" Plugins | |
" ------------------------------ | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'Raimondi/delimitMate' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'othree/html5.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'bling/vim-airline' | |
Plugin 'Lokaltog/vim-easymotion' | |
Plugin 'Yggdroot/indentLine' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'jelera/vim-javascript-syntax' | |
Plugin 'StanAngeloff/php.vim' | |
Plugin 'elzr/vim-json' | |
Plugin 'tpope/vim-surround' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'godlygeek/tabular' | |
Plugin 'plasticboy/vim-markdown' | |
Plugin 'morhetz/gruvbox' | |
call vundle#end() | |
filetype plugin indent on | |
" Key Bindings | |
" ------------------------------ | |
let mapleader = "," | |
" Switch buffer | |
map <leader>n <esc>:bprevious<CR> | |
map <leader>m <esc>:bnext<CR> | |
"Close buffer | |
nmap <leader>bq :bp <BAR> bd #<CR> | |
" Trim trailing whitespace | |
map <leader>t <esc>:% s/\s\+$//<CR> | |
" PHP Lint | |
map <leader>l <esc>:! php -l %<CR> | |
" Open NERDTree | |
nnoremap <silent> <C-e> :NERDTreeToggle<CR> | |
" Settings | |
" ------------------------------ | |
syntax on | |
set background=dark | |
colorscheme gruvbox | |
set guifont=Inconsolata-dz\ for\ Powerline:h14 | |
set cc=80 | |
set number | |
set tw=79 | |
set nowrap | |
set fo-=t | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set shiftround | |
set expandtab | |
set nobackup | |
set nowritebackup | |
set noswapfile | |
set smarttab | |
" Plugin Settings | |
" ------------------------------ | |
set laststatus=2 | |
let g:airline_powerline_fonts = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline#extensions#tabline#fnamemod = ':t' | |
let g:NERDTreeChDirMode = 2 | |
let g:ctrlp_working_path_mode = 'rw' | |
" GUI Settings | |
" ------------------------------ | |
set guioptions-=r | |
set guioptions+=m | |
set guioptions-=T | |
set guioptions-=L |
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
set nocompatible | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" Plugins | |
" ------------------------------ | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'Raimondi/delimitMate' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'othree/html5.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'bling/vim-airline' | |
Plugin 'Lokaltog/vim-easymotion' | |
Plugin 'Yggdroot/indentLine' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'jelera/vim-javascript-syntax' | |
Plugin 'StanAngeloff/php.vim' | |
Plugin 'elzr/vim-json' | |
Plugin 'tpope/vim-surround' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'godlygeek/tabular' | |
Plugin 'plasticboy/vim-markdown' | |
Plugin 'morhetz/gruvbox' | |
Bundle 'https://github.com/freeo/vim-kalisi' | |
call vundle#end() | |
filetype plugin indent on | |
" Key Bindings | |
" ------------------------------ | |
let mapleader = "," | |
" Switch buffer | |
map <leader>n <esc>:bprevious<CR> | |
map <leader>m <esc>:bnext<CR> | |
"Close buffer | |
nmap <leader>bq :bp <BAR> bd #<CR> | |
" Trim trailing whitespace | |
map <leader>t <esc>:% s/\s\+$//<CR> | |
" PHP Lint | |
map <leader>l <esc>:! php -l %<CR> | |
" Open NERDTree | |
nnoremap <silent> <C-e> :NERDTreeToggle<CR> | |
" Settings | |
" ------------------------------ | |
syntax on | |
set background=dark | |
colorscheme kalisi | |
set guifont=Inconsolata-dz\ for\ Powerline:h14 | |
set cc=80 | |
set number | |
set tw=79 | |
set nowrap | |
set fo-=t | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set shiftround | |
set expandtab | |
set nobackup | |
set nowritebackup | |
set noswapfile | |
set smarttab | |
" Plugin Settings | |
" ------------------------------ | |
set laststatus=2 | |
let g:airline_powerline_fonts = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline#extensions#tabline#fnamemod = ':t' | |
let g:NERDTreeChDirMode = 2 | |
let g:ctrlp_working_path_mode = 'rw' | |
" GUI Settings | |
" ------------------------------ | |
set guioptions-=r | |
set guioptions+=m | |
set guioptions-=T | |
set guioptions-=L | |
set t_Co=256 |
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
set nocompatible | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
let g:vundle_default_git_proto = 'git' | |
call vundle#begin() | |
" Plugins | |
" ------------------------------ | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'Raimondi/delimitMate' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'othree/html5.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'bling/vim-airline' | |
Plugin 'Lokaltog/vim-easymotion' | |
Plugin 'Yggdroot/indentLine' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'jelera/vim-javascript-syntax' | |
Plugin 'StanAngeloff/php.vim' | |
Plugin 'elzr/vim-json' | |
Plugin 'tpope/vim-surround' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'godlygeek/tabular' | |
Plugin 'plasticboy/vim-markdown' | |
Plugin 'morhetz/gruvbox' | |
Plugin 'https://github.com/scrooloose/nerdcommenter.git' | |
Bundle 'freeo/vim-kalisi' | |
" Bundle 'airblade/vim-gitgutter' | |
Bundle 'altercation/vim-colors-solarized' | |
call vundle#end() | |
filetype plugin indent on | |
" Key Bindings | |
" ------------------------------ | |
let mapleader = "," | |
" Switch buffer | |
map <leader>n <esc>:bprevious<CR> | |
map <leader>m <esc>:bnext<CR> | |
"Close buffer | |
nmap <leader>bq :bp <BAR> bd #<CR> | |
" Trim trailing whitespace | |
map <leader>t <esc>:% s/\s\+$//<CR> | |
" PHP Lint | |
map <leader>l <esc>:! php -l %<CR> | |
" Open NERDTree | |
nnoremap <silent> <C-e> :NERDTreeToggle<CR> | |
noremap <C-h> <C-w>h | |
noremap <C-j> <C-w>j | |
noremap <C-k> <C-w>k | |
noremap <C-l> <C-w>l | |
noremap <leader>l :Align | |
nnoremap <leader>b :CtrlPBuffer<CR> | |
nnoremap <leader>d :NERDTreeToggle<CR> | |
nnoremap <leader>f :NERDTreeFind<CR> | |
nnoremap <leader>] :TagbarToggle<CR> | |
noremap <silent> <leader>V :source ~/.vimrc<CR>:filetype detect<CR>:exe ":echo 'vimrc reloaded'"<CR> | |
" in case you forgot to sudo | |
cnoremap w!! %!sudo tee > /dev/null % | |
" Settings | |
" ------------------------------ | |
syntax on | |
set background=dark | |
colorscheme kalisi | |
set guifont=Inconsolata-dz\ for\ Powerline:h14 | |
set cc=80 | |
" Indentation | |
set noet ci pi sts=0 sw=4 ts=4 | |
"set smarttab | |
"set tabstop=4 | |
"set softtabstop=4 | |
"set shiftwidth=4 | |
"set expandtab | |
set number | |
set tw=79 | |
set nowrap | |
set fo-=t | |
set shiftround | |
set nobackup | |
set nowritebackup | |
set noswapfile | |
set autoindent | |
set autoread " reload files when changed on disk, i.e. via `git checkout` | |
set backupcopy=yes " see :help crontab | |
set clipboard=unnamed " yank and paste with the system clipboard | |
set directory-=. " don't store swapfiles in the current directory | |
set encoding=utf-8 | |
set ignorecase " case-insensitive search | |
set incsearch " search as you type | |
set laststatus=2 " always show statusline | |
set list " show trailing whitespace | |
set listchars=tab:▸\ ,trail:▫ | |
set number " show line numbers | |
set ruler " show where you are | |
set scrolloff=3 " show context above/below cursorline | |
set smartcase " case-sensitive search if any caps | |
" Plugin Settings | |
" ------------------------------ | |
set laststatus=2 | |
let g:airline_powerline_fonts = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline#extensions#tabline#fnamemod = ':t' | |
let g:NERDTreeChDirMode = 2 | |
let g:ctrlp_working_path_mode = 'rw' | |
" GUI Settings | |
" ------------------------------ | |
set guioptions-=r | |
set guioptions+=m | |
set guioptions-=T | |
set guioptions-=L | |
set t_Co=256 |
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
set nocompatible | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
let g:vundle_default_git_proto = 'git' | |
call vundle#begin() | |
" Plugins | |
" ------------------------------ | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'Raimondi/delimitMate' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'othree/html5.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'bling/vim-airline' | |
Plugin 'Lokaltog/vim-easymotion' | |
Plugin 'Yggdroot/indentLine' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'jelera/vim-javascript-syntax' | |
Plugin 'StanAngeloff/php.vim' | |
Plugin 'elzr/vim-json' | |
Plugin 'tpope/vim-surround' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'godlygeek/tabular' | |
Plugin 'plasticboy/vim-markdown' | |
Plugin 'morhetz/gruvbox' | |
Plugin 'https://github.com/scrooloose/nerdcommenter.git' | |
Bundle 'freeo/vim-kalisi' | |
Plugin 'Tagbar' | |
" Bundle 'airblade/vim-gitgutter' | |
" Bundle 'altercation/vim-colors-solarized' | |
call vundle#end() | |
filetype plugin indent on | |
" Key Bindings | |
" ------------------------------ | |
let mapleader = "," | |
" Switch buffer | |
map <leader>n <esc>:bprevious<CR> | |
map <leader>m <esc>:bnext<CR> | |
"Close buffer | |
nmap <leader>bq :bp <BAR> bd #<CR> | |
" Trim trailing whitespace | |
map <leader>t <esc>:% s/\s\+$//<CR> | |
" PHP Lint | |
map <leader>l <esc>:! php -l %<CR> | |
" Open NERDTree | |
nnoremap <silent> <C-e> :NERDTreeToggle<CR> | |
noremap <C-h> <C-w>h | |
noremap <C-j> <C-w>j | |
noremap <C-k> <C-w>k | |
noremap <C-l> <C-w>l | |
noremap <leader>l :Align | |
nnoremap <leader>b :CtrlPBuffer<CR> | |
nnoremap <leader>d :NERDTreeToggle<CR> | |
nnoremap <leader>f :NERDTreeFind<CR> | |
nnoremap <leader>] :TagbarToggle<CR> | |
noremap <silent> <leader>V :source ~/.vimrc<CR>:filetype detect<CR>:exe ":echo 'vimrc reloaded'"<CR> | |
nmap <F8> :TagbarToggle<CR> | |
" in case you forgot to sudo | |
cnoremap w!! %!sudo tee > /dev/null % | |
" Settings | |
" ------------------------------ | |
syntax on | |
set background=dark | |
colorscheme kalisi | |
set guifont=Inconsolata-dz\ for\ Powerline:h14 | |
set cc=80 | |
set tw=79 | |
set nowrap | |
set fo-=t | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set shiftround | |
set expandtab | |
set nobackup | |
set nowritebackup | |
set noswapfile | |
set smarttab | |
set autoindent | |
set autoread " reload files when changed on disk, i.e. via `git checkout` | |
set backupcopy=yes " see :help crontab | |
set clipboard=unnamed " yank and paste with the system clipboard | |
set directory-=. " don't store swapfiles in the current directory | |
set encoding=utf-8 | |
set ignorecase " case-insensitive search | |
set incsearch " search as you type | |
set laststatus=2 " always show statusline | |
set list " show trailing whitespace | |
set listchars=tab:▸\ ,trail:▫ | |
set number " show line numbers | |
set ruler " show where you are | |
set scrolloff=3 " show context above/below cursorline | |
set smartcase " case-sensitive search if any caps | |
" Plugin Settings | |
" ------------------------------ | |
set laststatus=2 | |
let g:airline_powerline_fonts = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline#extensions#tabline#fnamemod = ':t' | |
let g:NERDTreeChDirMode = 2 | |
let g:ctrlp_working_path_mode = 'rw' | |
" GUI Settings | |
" ------------------------------ | |
set guioptions-=r | |
set guioptions+=m | |
set guioptions-=T | |
set guioptions-=L | |
set t_Co=256 |
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
mkdir -p ${XDG_CONFIG_HOME:=$HOME/.config} | |
ln -s ~/.vim $XDG_CONFIG_HOME/nvim | |
ln -s ~/.vimrc $XDG_CONFIG_HOME/nvim/init.vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment