summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorTyler Davis <tydavis@gmail.com>2022-12-07 11:01:08 +0000
committerTyler Davis <tydavis@gmail.com>2022-12-07 11:01:08 +0000
commit2d1a390f8745547e08f77f745900095cb5bcdd5e (patch)
tree8e94af63589368db8d009815fb3cf0bf8ef63001 /.vimrc
parentc2b7b581b4b5c16f1230ed009d72b52e57e27ed7 (diff)
downloaddotfiles-2d1a390f8745547e08f77f745900095cb5bcdd5e.tar.gz
dotfiles-2d1a390f8745547e08f77f745900095cb5bcdd5e.zip
vim: remove saveplace code
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc11
1 files changed, 3 insertions, 8 deletions
diff --git a/.vimrc b/.vimrc
index 17bcd73..767cb3a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -118,11 +118,6 @@ set number " We like line numbers
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" -> Colors and Fonts
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" Enable 256 colors palette in Gnome Terminal
-if $COLORTERM == 'gnome-terminal'
- set t_Co=256
-endif
-
" Disable syntax for now
syntax off
"colorscheme peachpuff
@@ -206,9 +201,9 @@ noremap <leader>n :set invnumber<CR>
"inoremap <leader>n <C-O>:set invnumber<CR>
" jump to the last position when reopening a file
-if has("autocmd")
- au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
-endif
+" if has("autocmd")
+" au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
+" endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" -> Helper functions