diff --git a/.vimrc b/.vimrc index 8e6454a..ea29e5e 100644 --- a/.vimrc +++ b/.vimrc @@ -4,6 +4,11 @@ " Load rename plugin so ~/.vim/Rename.vim + +" Rezise splits +"nnoremap :vertical resize -20 + + " Autoindent html " autocmd BufWritePre *.html :normal gg=G @@ -51,12 +56,12 @@ let mapleader = "," " Swap lines nnoremap k :-1,-1m+0k nnoremap j :+0,+0m+1 +vnoremap k :m '<-2gv=gv +vnoremap j :m '>+1gv=gv " Enable folding with spacebar nnoremap za -" Toggle NEDRTree plugin -noremap :NERDTreeToggle " Make surrounding with various characters easier nmap ' ysiW' @@ -80,9 +85,6 @@ vnoremap d " Save with s noremap s :update -" Open NERDTree by default -"autocmd VimEnter * NERDTree -"autocmd VimEnter * wincmd p " Writes to all buffers when switching to another buffer set autowrite @@ -348,11 +350,21 @@ noremap noremap noremap -" Do splits with C-right and C-up -nnoremap :vsp -nnoremap :sp +" Do splits with Leader-\ and Leader-- +" nnoremap :vsp +" nnoremap :sp +noremap \ :vsp +noremap - :sp + +" NERDTree settings +" Open NERDTree by default +"autocmd VimEnter * NERDTree +"autocmd VimEnter * wincmd p +" Toggle NEDRTree plugin +noremap :NERDTreeToggle let NERDTreeIgnore = ['\.pyc$', '__pycache__'] +let NERDTreeShowHidden=1 " Better navigating through omnicomplete option list " See @@ -436,3 +448,4 @@ set matchtime=3 nnoremap :syntax sync fromstart autocmd FileType markdown syntax sync fromstart + diff --git a/vim-plugins/tmp/%home%viktor%code%python%p_graham_essay_parser%crawler%views.py.swp b/vim-plugins/tmp/%home%viktor%code%python%p_graham_essay_parser%crawler%views.py.swp new file mode 100644 index 0000000..70b11a1 Binary files /dev/null and b/vim-plugins/tmp/%home%viktor%code%python%p_graham_essay_parser%crawler%views.py.swp differ diff --git a/vim-plugins/tmp/undo/%etc%default%puppetserver b/vim-plugins/tmp/undo/%etc%default%puppetserver new file mode 100644 index 0000000..a42f190 Binary files /dev/null and b/vim-plugins/tmp/undo/%etc%default%puppetserver differ diff --git a/vim-plugins/tmp/undo/%etc%hosts b/vim-plugins/tmp/undo/%etc%hosts index ad2b91c..f97d64d 100644 Binary files a/vim-plugins/tmp/undo/%etc%hosts and b/vim-plugins/tmp/undo/%etc%hosts differ diff --git a/vim-plugins/tmp/undo/%home%viktor%.vim%bundle%AutoComplPop%README b/vim-plugins/tmp/undo/%home%viktor%.vim%bundle%AutoComplPop%README new file mode 100644 index 0000000..42de567 Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%.vim%bundle%AutoComplPop%README differ diff --git a/vim-plugins/tmp/undo/%home%viktor%.vimrc b/vim-plugins/tmp/undo/%home%viktor%.vimrc index ce80a4d..1ddda9e 100644 Binary files a/vim-plugins/tmp/undo/%home%viktor%.vimrc and b/vim-plugins/tmp/undo/%home%viktor%.vimrc differ diff --git a/vim-plugins/tmp/undo/%home%viktor%a.py b/vim-plugins/tmp/undo/%home%viktor%a.py new file mode 100644 index 0000000..c11c9ec Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%a.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%ansible-play%hosts b/vim-plugins/tmp/undo/%home%viktor%ansible-play%hosts new file mode 100644 index 0000000..ea11f32 Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%ansible-play%hosts differ diff --git a/vim-plugins/tmp/undo/%home%viktor%ansible-play%main.yml b/vim-plugins/tmp/undo/%home%viktor%ansible-play%main.yml new file mode 100644 index 0000000..6db11c0 Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%ansible-play%main.yml differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%base.py b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%base.py index d842824..e6fb30f 100644 Binary files a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%base.py and b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%base.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%local.py b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%local.py new file mode 100644 index 0000000..6cb278a Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%local.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%production.py b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%production.py new file mode 100644 index 0000000..412572f Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%settings%production.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%urls.py b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%urls.py index 00998c1..7ae43d2 100644 Binary files a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%urls.py and b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%config%urls.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%services.py b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%services.py index 670870e..fb2d701 100644 Binary files a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%services.py and b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%services.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%urls.py b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%urls.py index 23278a2..0833720 100644 Binary files a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%urls.py and b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%urls.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%views.py b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%views.py index ed466f7..4f8f68d 100644 Binary files a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%views.py and b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%crawler%views.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%p_graham_essay_parser%templates%pages%index.html b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%p_graham_essay_parser%templates%pages%index.html new file mode 100644 index 0000000..2f1b0fa Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%code%python%p_graham_essay_parser%p_graham_essay_parser%templates%pages%index.html differ diff --git a/vim-plugins/tmp/undo/%home%viktor%code%python%soton-accomodation-checker%main.py b/vim-plugins/tmp/undo/%home%viktor%code%python%soton-accomodation-checker%main.py index 305d9fa..fcc81c2 100644 Binary files a/vim-plugins/tmp/undo/%home%viktor%code%python%soton-accomodation-checker%main.py and b/vim-plugins/tmp/undo/%home%viktor%code%python%soton-accomodation-checker%main.py differ diff --git a/vim-plugins/tmp/undo/%home%viktor%esx-key b/vim-plugins/tmp/undo/%home%viktor%esx-key new file mode 100644 index 0000000..9d46080 Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%esx-key differ diff --git a/vim-plugins/tmp/undo/%home%viktor%todo.txt b/vim-plugins/tmp/undo/%home%viktor%todo.txt index 5979489..448ef9c 100644 Binary files a/vim-plugins/tmp/undo/%home%viktor%todo.txt and b/vim-plugins/tmp/undo/%home%viktor%todo.txt differ diff --git a/vim-plugins/tmp/undo/%home%viktor%tricks.txt b/vim-plugins/tmp/undo/%home%viktor%tricks.txt new file mode 100644 index 0000000..b0a8a8f Binary files /dev/null and b/vim-plugins/tmp/undo/%home%viktor%tricks.txt differ diff --git a/vim-plugins/tmp/undo/%run%resolvconf%resolv.conf b/vim-plugins/tmp/undo/%run%resolvconf%resolv.conf index 79f6b7e..ab6ec22 100644 Binary files a/vim-plugins/tmp/undo/%run%resolvconf%resolv.conf and b/vim-plugins/tmp/undo/%run%resolvconf%resolv.conf differ diff --git a/vim-plugins/tmp/undo/%tmp%crontab.4o56kp%crontab b/vim-plugins/tmp/undo/%tmp%crontab.4o56kp%crontab new file mode 100644 index 0000000..f9299d5 Binary files /dev/null and b/vim-plugins/tmp/undo/%tmp%crontab.4o56kp%crontab differ diff --git a/vim-plugins/tmp/undo/%tmp%crontab.aL2uZd%crontab b/vim-plugins/tmp/undo/%tmp%crontab.aL2uZd%crontab new file mode 100644 index 0000000..83e37dc Binary files /dev/null and b/vim-plugins/tmp/undo/%tmp%crontab.aL2uZd%crontab differ