71 lines
2.3 KiB
VimL
71 lines
2.3 KiB
VimL
set nocompatible " Disable compatibility to old-time vi
|
|
set showmatch " Show matching brackets.
|
|
set ignorecase " Do case insensitive matching
|
|
set mouse=v " middle-click paste with mouse
|
|
set hlsearch " highlight search results
|
|
set tabstop=4 " number of columns occupied by a tab character
|
|
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing
|
|
set expandtab " converts tabs to white space
|
|
set shiftwidth=4 " width for autoindents
|
|
set autoindent " indent a new line the same amount as the line just typed
|
|
set number " add line numbers
|
|
set wildmode=longest,list " get bash-like tab completions
|
|
set autoread " refresh file
|
|
if (has("termguicolors"))
|
|
set termguicolors
|
|
endif
|
|
syntax on
|
|
|
|
" set the runtime path to include Vundle and initialize
|
|
set rtp+=~/.config/nvim/bundle/Vundle.vim
|
|
call vundle#begin('~/.config/nvim/bundle')
|
|
Plugin 'VundleVim/Vundle.vim'
|
|
call vundle#end()
|
|
|
|
" allows auto-indenting depending on file type
|
|
filetype plugin indent on
|
|
|
|
call plug#begin('~/.local/share/nvim/site/autoload')
|
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
|
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
|
Plug 'dylanaraps/wal'
|
|
Plug 'PotatoesMaster/i3-vim-syntax'
|
|
Plug 'Xuyuanp/nerdtree-git-plugin'
|
|
Plug 'mhinz/vim-startify'
|
|
Plug 'tpope/vim-fugitive'
|
|
Plug 'tpope/vim-sensible'
|
|
Plug 'tpope/vim-obsession'
|
|
Plug 'junegunn/gv.vim'
|
|
Plug 'junegunn/goyo.vim'
|
|
Plug 'edkolev/tmuxline.vim'
|
|
Plug 'vim-airline/vim-airline'
|
|
Plug 'vim-airline/vim-airline-themes'
|
|
Plug 'chrisbra/colorizer'
|
|
Plug 'chase/focuspoint-vim'
|
|
Plug 'liuchengxu/space-vim-theme'
|
|
Plug 'kadekillary/Turtles'
|
|
Plug 'arcticicestudio/nord-vim'
|
|
Plug 'whatyouhide/vim-gotham'
|
|
Plug 'deviantfero/wpgtk.vim'
|
|
Plug 'itchyny/landscape.vim'
|
|
call plug#end()
|
|
|
|
map <C-n> :NERDTreeToggle<CR>
|
|
|
|
colorscheme nord
|
|
|
|
let g:airline_powerline_fonts = 1
|
|
let g:airline_theme='nord'
|
|
let g:tmuxline_preset = {
|
|
\'a' : '#S',
|
|
\'b' : '#W',
|
|
\'c' : ['#(~/.config/Scripts/showip)'],
|
|
\'win' : ['#I', '#W'],
|
|
\'cwin' : ['#I', '#W', '#F'],
|
|
\'y' : ['%R', '%a', '%Y'],
|
|
\'z' : '#H'}
|
|
|
|
" Run xrdb whenever Xdefaults or Xresources are updated.
|
|
autocmd BufWritePost *Xresources,*Xdefaults !xrdb %
|
|
|