added nvim config
This commit is contained in:
parent
526ed4e354
commit
44375eb4a7
|
|
@ -0,0 +1,64 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
" 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 wal
|
||||||
|
|
||||||
|
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 %
|
||||||
|
|
||||||
|
|
@ -15,6 +15,7 @@ alias edis='expressvpn disconnect'
|
||||||
alias aws1='ssh ubuntu@ec2-18-196-102-236.eu-central-1.compute.amazonaws.com'
|
alias aws1='ssh ubuntu@ec2-18-196-102-236.eu-central-1.compute.amazonaws.com'
|
||||||
alias gcp='gcloud compute ssh instance-1'
|
alias gcp='gcloud compute ssh instance-1'
|
||||||
alias blist='borg list ssh://borg@docker1.home.hartzan.com:2222/backup/arch'
|
alias blist='borg list ssh://borg@docker1.home.hartzan.com:2222/backup/arch'
|
||||||
|
alias contabo='ssh hate@164.68.120.85'
|
||||||
|
|
||||||
#Check the weather:
|
#Check the weather:
|
||||||
weath() { curl wttr.in/Hameenlinna ;}
|
weath() { curl wttr.in/Hameenlinna ;}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue