From 51a9573e1ba60b7f7b2d16454049e596e31f9021 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 5 Sep 2018 23:39:31 +1200 Subject: Update cursorline_current.vim plugin --- vim/bundle/cursorline_current | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/bundle/cursorline_current b/vim/bundle/cursorline_current index 70eb3eaa..83943047 160000 --- a/vim/bundle/cursorline_current +++ b/vim/bundle/cursorline_current @@ -1 +1 @@ -Subproject commit 70eb3eaaecfce486ce6df4a141d3d4d1bec30e0b +Subproject commit 83943047b4302a88e6bdfb53bb42246f0a27d53d -- cgit v1.2.3 From 29b44b505186010b5be1e06f78891f366cd47cc4 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 7 Sep 2018 11:33:08 +1200 Subject: Add "whole buffer" object an experiment --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 2f60a31b..7237cfd1 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -401,6 +401,9 @@ nnoremap > :'[,']> " \_ uses last changed or yanked text as an object onoremap _ :normal! `[v`] +" \% uses entire buffer as an object +onoremap % :normal! 1GVG + " \{ and \} move to lines with non-space chars before current column nmap { (VerticalRegionUpNormal) nmap } (VerticalRegionDownNormal) -- cgit v1.2.3 From b6b86872f55d2d363e60bcc3de6e1091f36a1d3f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 7 Sep 2018 11:33:19 +1200 Subject: Specify object type in comments --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 7237cfd1..eb7f04d3 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -398,10 +398,10 @@ nnoremap . :lmake! nnoremap :'[,'] nnoremap > :'[,']> -" \_ uses last changed or yanked text as an object +" \_ uses last changed or yanked text as a characterwise object onoremap _ :normal! `[v`] -" \% uses entire buffer as an object +" \% uses entire buffer as a linewise object onoremap % :normal! 1GVG " \{ and \} move to lines with non-space chars before current column -- cgit v1.2.3 From 93f218b69a7cb2138b2e1a9bab193b2b2d1377e2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 7 Sep 2018 17:24:56 +1200 Subject: Unset 'laststatus' and 'ruler' only if they're set --- vim/vimrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index eb7f04d3..9f5735c7 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -140,7 +140,9 @@ set nojoinspaces " Don't show a statusline if there's only one window " This is the Vim default, but NeoVim changed it -set laststatus=1 +if &laststatus + set laststatus=1 +endif " Don't redraw the screen during batch execution set lazyredraw @@ -167,7 +169,9 @@ set path+=** " Search current directory's whole tree " Disable command line display of file position " This is the Vim default, but NeoVim changed it -set noruler +if &ruler + set noruler +endif " Make sessions usable if exists('+sessionoptions') -- cgit v1.2.3 From ef1eaa8af72084fdb31803ac0cbdeb120a54940c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 9 Sep 2018 14:39:50 +1200 Subject: Update cursorline_current.vim plugin --- vim/bundle/cursorline_current | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/bundle/cursorline_current b/vim/bundle/cursorline_current index 83943047..b48b57b3 160000 --- a/vim/bundle/cursorline_current +++ b/vim/bundle/cursorline_current @@ -1 +1 @@ -Subproject commit 83943047b4302a88e6bdfb53bb42246f0a27d53d +Subproject commit b48b57b35899796bfbea9a3aab8c584d8eaebfd5 -- cgit v1.2.3 From 08967acbba6c294821e0e2ce974653a1171e072d Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 9 Sep 2018 14:40:08 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 73d06721..118c2510 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v1.67.0 -Wed Sep 5 00:00:16 UTC 2018 +tejr dotfiles v1.68.0 +Sun Sep 9 02:40:08 UTC 2018 -- cgit v1.2.3