Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible
- set t_Co=256 "t_te= t_ti= t_ut=
- set ghr=0
- filetype plugin indent on
- syntax on
- "set termguicolors
- set guifont=DejaVu_Sans_Mono:h11
- color gruvbox
- let g:airline_theme='gruvbox'
- autocmd VimResized * wincmd = "resize windows properly
- "buftabline
- set hidden "hide buffers instead of close
- let g:buftabline_show = 1
- let g:buftabline_indicators = 1
- :hi link BufTabLineFill NONE
- set rtp=~/.vim,~/.vim/after
- let g:ctrlp_custom_ignore = { 'dir': 'gradle$\', 'file': '\.obj$\|\.spv$|\.dll$|\.a$|\.rsp$|\.exe$' }
- let g:ctrlp_working_path_mode = 'w' "search from pwd even if .git is present
- set guioptions-=m "remove menu bar
- set guioptions-=T "remove toolbar
- set guioptions-=r "remove right-hand scroll bar
- set guioptions-=L "remove left-hand scroll bar
- autocmd! BufNewFile,BufRead *.vs,*.fs set ft=glsl "glsl syntax
- "c++ syntax
- let g:cpp_class_scope_highlight = 1
- let g:cpp_member_variable_highlight = 1
- let g:cpp_class_decl_highlight = 1
- let g:cpp_concepts_highlight = 1
- let g:python_recommended_style=0 "stop python.vim from fucking with our settings
- "au VimLeave * :!clear
- "paste from yank register
- "noremap p "0p"
- "move tabs
- noremap <C-Down> :execute "bnext" <CR>
- noremap <C-Up> :execute "bprev" <CR>
- tnoremap <C-Down> <C-\><C-n>:bp<CR> "term
- tnoremap <C-Up> <C-\><C-n>:bp<CR> "term
- noremap , :
- noremap ' "
- "move to eol
- noremap å $
- " :,$s//foo/gc global confirm
- noremap æ :,%s/
- "highlight instance of word
- noremap ø *
- imap jk <Esc>
- imap kj <Esc>
- "å bug
- let g:AutoPairsShortcutFastWrap='' "å bug
- set laststatus=2 "when the last window will have a status line
- set ignorecase
- set smartcase
- set mouse=a "don't copy line numbers
- set clipboard^=unnamed,unnamedplus "shared clipboard
- set autoread "automatically read file changed outside of vim
- set wildmenu "command completion on wildchar
- set ruler
- set cmdheight=1 "only one command line
- set hid "hide unsaved buffers when opening new file, access with :ls :b[N]
- set number "display line number
- set cursorline "highlight the cursor line
- set noshowmode "don't show mode
- set ttyfast "fast scrolling
- set lazyredraw "don't redraw while running macros etc
- set hlsearch "highlight search matches
- set smarttab "tabulate and delete properly
- set smartindent
- set softtabstop=2 "tab as spaces
- set shiftwidth=2 "tab as spaces
- set expandtab "tabulate properly in insert
- set shiftround "round indent to multiple of shiftwidth
- set ai "Auto indent"
- set si "Smart indent"
- set wrap "Wrap lines"
- set backspace=2 "backspace deletes properly
- set incsearch "dynamic search matching
- set showmatch "cursor jumps to matching brace when inserting one
- "set mat=2 "tenths of a second to blink when matching brackets
- set enc=utf-8 "encodings
- set fileencoding=utf-8
- set fileencodings=ucs-bom,utf8,prc
- set ffs=unix,dos,mac
- set nobackup "don't do backups
- set nowritebackup "don't write backup while editing
- set noswapfile "no swap
- set shellslash "forward slash to expand file names
- "set statusline+=%#warningmsg#
- "set statusline+=%{SyntasticStatuslineFlag()}
- "set statusline+=%*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement