==⌄=====================================================================⌄==" let g:session_autoload = 'no' set bs=2 set ts=4 set sw=4 set number set ruler "set cursonline set clipboard=unnamed "==^=====================================================================^==" "==⌄==Copied (somewhat edited) from https://github.com/VundleVim/Vundle.vim==⌄==" set nocompatible " be iMproved filetype off " required! " " Set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " Alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " " Let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' " " The following are examples of different formats supported. " Keep Plugin commands between vundle#begin/end. " plugin on GitHub repo Plugin 'tpope/vim-fugitive' " plugin from http://vim-scripts.org/vim/scripts.html "Plugin 'L9' " Git plugin not hosted on GitHub Plugin 'git://git.wincent.com/command-t.git' " git repos on your local machine (i.e. when working on your own plugin) "Plugin 'file:///home/gmarik/vundle' " The sparkup vim script is in a subdirectory of this repo called vim. " Pass the path to set the runtimepath properly. Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} " Install L9 and avoid a Naming conflict if you've already installed a " different version somewhere else. "Plugin 'ascenator/L9', {'name': 'newL9'} Plugin 'Valloric/YouCompleteMe' "Plugin 'dracula/vim', { 'name': 'dracula' } " Nertree Plugin 'preservim/nerdtree' " Vim Dev Icons Plugin 'ryanoasis/vim-devicons' " All of your Plugins must be added before the following line call vundle#end() " required "==^==Copied (somewhat edited) from https://github.com/VundleVim/Vundle.vim==^==" "==⌄==Pathogen===========================================================⌄==" execute pathogen#infect() "==^==Pathogen===========================================================^==" "==⌄=====================================================================⌄==" filetype plugin indent on syntax on "==^=====================================================================^==" "==⌄==Color schemes======================================================⌄==" " "==⌄==Background==============================⌄==" set background=dark "set background=light "==^==Background==============================^==" " "colorscheme dracula colorscheme gruvbox " "==⌄==Solarized stuff=========================⌄==" " let g:solarized_termtrans = 1 " let g:solarized_termcolors=256 " let g:solarized_degrade = 0 " let g:solarized_bold = 1 " let g:solarized_underline = 1 " let g:solarized_italic = 1 " let g:solarized_contrast = "normal" " let g:solarized_visibility = "normal" " let g:solarized_hitrail = 0 " let g:solarized_menu = 1 " "colorscheme solarized "==^==Solarized stuff=========================^==" " "==⌄==Toggle transparent background=========================⌄==" let t:is_transparent = 0 function! Toggle_transparent() if t:is_transparent == 0 hi Normal guibg=NONE ctermbg=NONE let t:is_transparent = 1 else set background=dark let t:is_tranparent = 0 endif endfunction nnoremap : call Toggle_transparent() "==^==Toggle transparent background=========================^==" "==^==Color schemes======================================================^==" "==⌄==Airline Symbols=====================================================⌄==" "let g:airline_powerline_fonts=1 "==^==Airline Symbols=====================================================^==" "==⌄==Fix for YankRing bug===============================================⌄==" let g:yankring_clipboard_monitor=0 "==^==Fix for YankRing bug===============================================^==" "==⌄==Powerline==========================================================⌄==" set rtp+=/usr/local/lib/python3.7/site-packages/powerline/bindings/vim " Always show statusline set laststatus=2 " Use 256 colors (Use this setting only if your terminal supports 256 colors) "set t_Co=256 "==^==Powerline==========================================================^==" "==⌄==Enable Vim true color in tmux======================================⌄==" if exists('+termguicolors') let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" set termguicolors endif ""==⌄==Have to include this in ~/.tmux.conf=========⌄==" "# !!! Important for true Vim color in tmux "set -g default-terminal "tmux-256color" "set -ga terminal-overrides ",*256col*:Tc" ""==^==Have to include this in ~/.tmux.conf=========^==" "==^==Enable Vim true color in tmux======================================^=="