dotfiles/.config/nvim/init.vim

58 lines
2.0 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()
filetype plugin indent on " allows auto-indenting depending on file type
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 'moby/moby' , {'rtp': '/contrib/syntax/vim/'}
call plug#end()
map <C-n> :NERDTreeToggle<CR>
colorscheme wal
let g:airline_powerline_fonts = 1
let g:airline_theme='minimalist'
let g:tmuxline_preset = 'full'