" - Config - "" Encoding set encoding=utf8 "" Disable modeline set nomodeline "" System undo levels set undofile set undolevels=100 "" Indenting set tabstop=2 set softtabstop=2 set shiftwidth=2 set expandtab "" Disable error sounds set noerrorbells "" Stop word wrapping set nowrap "" Show invisible characters set conceallevel=1 "" Enable search highlighting set hlsearch "" Line Numbers set number relativenumber "" Top/Bottom scroll padding set scrolloff=3 set sidescrolloff=5 "" Enable autoread if file changes set autoread "" Hide Buffers set hidden "" Statusline set laststatus=0 " - Mappings - "" Map Leader to spacebar let mapleader=" " "" Shortcut to save nnoremap w :w "" Moving current lines up/down nnoremap k :execute 'move -1-'. v:count1 nnoremap j :execute 'move +'. v:count1 "" Buffers Next/Previous nnoremap :bnext nnoremap :bprev "" Shortcut to close buffer nnoremap :bd "" Shortcut to reopen closed buffer nmap " - Load Plugins - "" Begin vim-plug call plug#begin('~/.vim/plugged') "" Visual Plugins Plug 'mhinz/vim-startify' Plug 'dracula/vim' Plug 'ap/vim-buftabline' "" Syntax Plugins Plug 'dense-analysis/ale' "" Ease of Editing Plugins Plug 'tpope/vim-surround' Plug 'tpope/vim-eunuch' Plug 'tpope/vim-surround' "" Project/File Navigation Plugins Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' "" Git Plug 'tpope/vim-fugitive' Plug 'airblade/vim-gitgutter' "" Initialize plugin system call plug#end() " - Config Plugins - "" Colorscheme Dracula let g:dracula_colorterm = 0 " Set background as transparent colorscheme dracula "" FZF nnoremap t :Files nnoremap T :Buffers nnoremap g :Ag nnoremap c :Commits nnoremap C :BCommits nnoremap m :GFiles? "" Buftablines let g:buftabline_indicators=1 highlight BufTabLineFill ctermfg=11 highlight BufTabLineCurrent cterm=bold ctermfg=236 ctermbg=141 gui=bold guifg=#282A36 guibg=#BD93F9 "" vim-startify let g:startify_custom_header = [ \ ' Gaiety | 2019', \ ' ____ ____ __ ', \ ' / __/__ ___ ________ / __ \____/ /____ ___ __ _____', \ ' _\ \/ _ \/ _ `/ __/ -_) / /_/ / __/ __/ _ \/ _ \/ // (_-<', \ '/___/ .__/\_,_/\__/\__/ \____/\__/\__/\___/ .__/\_,_/___/', \ ' /_/ /_/ ', \ '', \ 'MAPPING ACTION', \ '----------------------------------------------------------', \ ' Leader', \ 'w Save Buffer', \ ' Close Buffer', \ ' Open Previous Buffer', \ ' Next buffer', \ ' Previous buffer', \ 'k Move line up', \ 'j Move line down', \ '', \ ] let g:startify_change_to_dir = 0