Browse Source

vim can actually have persistant undo

master
dummy 8 years ago
parent
commit
883eee603c
  1. 2
      .gdbinit.d/gdbdashbard.conf
  2. 11
      .vimrc

2
.gdbinit.d/gdbdashbard.conf

@ -3,5 +3,5 @@
dashboard -layout assembly !registers stack memory source expressions !history !threads
dashboard -style syntax_highlighting 'rrt'
dashboard -style style_low '0;37'
#dashboard source -style context 15
dashboard source -style context 15
dashboard stack -style arguments False

11
.vimrc

@ -37,7 +37,8 @@ syntax on
colorscheme deus
set hlsearch
set nowrap
set wrap
set mouse+=a
" don't clutter directories with backup files
set nobackup
@ -46,6 +47,12 @@ set tabstop=4
set shiftwidth=4 " set to same as tabstop for auto-indent
set clipboard=unnamedplus
" save undo buffer, make sure directory exists!
set undofile
set undodir=$HOME/.vim/undo
set undolevels=1000
set undoreload=10000
" folding
set foldmethod=syntax
set foldnestmax=1
@ -123,7 +130,7 @@ augroup END
" http://tmux-users.narkive.com/M9tIqoa0/c-pageup-and-c-pagedown-seems-not-to-work-in-tmux
if &term =~ '^screen' && exists('$TMUX')
" Mouse mode
set mouse+=a
" set mouse+=a
set ttymouse=xterm2
" tmux sends xterm-style keys when xterm-keys option is on

Loading…
Cancel
Save