Created
May 10, 2020 08:42
-
-
Save grahamg/8d1728fb20b6ac3e1ebf3dcb80247b3c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
" Use Vim settings rather than Vi settings | |
" Required to be at the beginning of file | |
set nocompatible | |
" Required | |
filetype off | |
" Turn on syntax highlighting | |
syntax on | |
set number | |
set history=3000 | |
set pastetoggle=<F2> | |
set cursorline | |
set visualbell | |
set autoindent | |
set smartindent | |
set smarttab | |
set shiftwidth=2 | |
set softtabstop=2 | |
set tabstop=2 | |
set incsearch | |
set hlsearch | |
set ignorecase | |
set smartcase | |
set noswapfile | |
set nobackup | |
set nowb | |
noremap jk <esc> | |
noremap <esc> <nop> | |
noremap Q <nop> | |
set nofoldenable | |
set nowrap | |
" | |
"================ Vundle Modules ====================== | |
" Set the runtime path to include Vundle and initialize | |
set rtp+=~/.config/nvim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'tomtom/tcomment_vim' | |
Plugin 'kristijanhusak/vim-multiple-cursors' | |
Plugin 'justinmk/vim-sneak' | |
Plugin 'xolox/vim-misc' | |
Plugin 'xolox/vim-session' | |
Plugin 'jiangmiao/auto-pairs' | |
Plugin 'sjl/gundo.vim' | |
Plugin 'wincent/command-t' | |
Plugin 'ctrlpvim/ctrlp.vim' | |
Plugin 'dkprice/vim-easygrep' | |
Plugin 'junegunn/goyo.vim' | |
Plugin 'rking/ag.vim' | |
Plugin 'majutsushi/tagbar' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'joonty/vdebug' | |
Plugin 'powerline/powerline' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'schickling/vim-bufonly' | |
Plugin 'vim-scripts/activity-log' | |
Plugin 'vim-scripts/a.vim' | |
call vundle#end() " required | |
"================ Toggle Keymaps ====================== | |
:nmap \f zi<CR> | |
:nmap \t :TagbarToggle<CR> | |
:nmap \g :GundoToggle<CR> | |
:nmap \b :Bufonly<CR> | |
:nmap \o :Goyo<CR> | |
filetype plugin indent on " required | |
let g:indentLine_color_term = 239 | |
let g:indentLine_color_tty_light = 7 " (default: 4) | |
let g:indentLine_color_dark = 1 " (default: 2) | |
let g:session_autosave = 'no' | |
autocmd VimEnter * if !argc() | NERDTree | endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment