Skip to content

Commit

Permalink
New install?
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed May 5, 2020
1 parent 6417cf7 commit 79cedc6
Show file tree
Hide file tree
Showing 5 changed files with 212 additions and 152 deletions.
Empty file added .config/nvim/backup/.keep
Empty file.
30 changes: 16 additions & 14 deletions .config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-vinegar'

Plug 'altercation/vim-colors-solarized'
"Plug 'altercation/vim-colors-solarized'
Plug 'arcticicestudio/nord-vim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Expand Down Expand Up @@ -79,16 +79,6 @@ set splitright

set clipboard+=unnamedplus

"let g:netrw_banner = 0
"let g:netrw_liststyle = 3
"let g:netrw_browse_split = 4
"let g:netrw_altv = 1
"let g:netrw_winsize = 25
"augroup ProjectDrawer
" autocmd!
" autocmd VimEnter * :Vexplore
"augroup END

au BufNewFile,BufRead *.plist set filetype=xml

autocmd FileType python set tabstop=4
Expand All @@ -110,6 +100,16 @@ set encoding=utf-8

set cmdheight=2

if exists('$TMUX')
let &t_SI = "\<Esc>Ptmux;\<Esc>\e[6 q\<Esc>\\"
let &t_SR = "\<Esc>Ptmux;\<Esc>\e[4 q\<Esc>\\"
let &t_EI = "\<Esc>Ptmux;\<Esc>\e[2 q\<Esc>\\"
else
let &t_SI = "\e[6 q"
let &t_SR = "\e[4 q"
let &t_EI = "\e[2 q"
endif

" Print Options
set printoptions=header:0,syntax:n,paper:letter,formfeed:y

Expand All @@ -131,9 +131,10 @@ endif
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
set termguicolors
syntax on
set background=dark
colorscheme solarized
colorscheme nord
set hlsearch
endif

Expand Down Expand Up @@ -165,8 +166,8 @@ if has("autocmd")
\ exe "normal! g`\"" |
\ endif

autocmd BufEnter * call system("tmux rename-window " . expand("%:t"))
autocmd VimLeave * call system("tmux rename-window zsh")
"autocmd BufEnter * call system("tmux rename-window " . expand("%:t"))
"autocmd VimLeave * call system("tmux rename-window zsh")
autocmd BufEnter * let &titlestring = ' ' . expand("%:t")
set title

Expand All @@ -186,3 +187,4 @@ if !exists(":DiffOrig")
\ | wincmd p | diffthis
endif


Loading

0 comments on commit 79cedc6

Please sign in to comment.