From c59cb6e13350f87d9d583d1d59ecbfa903277625 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 22 Aug 2018 22:13:23 +1200 Subject: Correct documented mode of single mapping --- doc/colon_operator.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/colon_operator.txt b/doc/colon_operator.txt index 4ec620b..99e73f0 100644 --- a/doc/colon_operator.txt +++ b/doc/colon_operator.txt @@ -14,7 +14,7 @@ This plugin only loads if 'compatible' is not set. MAPPINGS *colon_operator-mappings* *(ColonOperator)* -The single insert mode mapping target is |(ColonOperator)|. There is no +The single normal mode mapping target is |(ColonOperator)|. There is no default key mapping; you should define one yourself in your |vimrc|. For example: > -- cgit v1.2.3 From f196b5210b6580ba76fb4b06e14d17e7aaf1855e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 9 May 2019 10:54:50 +1200 Subject: Switch to two-spacing --- README.md | 6 +++--- doc/colon_operator.txt | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1db7c95..3409e34 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,14 @@ colon\_operator.vim =================== This plugin provides a mapping target to use an Ex command as an operator, in a -way repeatable with the `.` (dot) operator. This allows you to, for example, +way repeatable with the `.` (dot) operator. This allows you to, for example, `:sort` a text object like a paragraph, and then repeat it on another -paragraph. Think of it as the `:` analogue to the `!` motion. +paragraph. Think of it as the `:` analogue to the `!` motion. License ------- -Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. +Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. See `:help license`. [1]: https://sanctum.geek.nz/ diff --git a/doc/colon_operator.txt b/doc/colon_operator.txt index 99e73f0..f8d2b34 100644 --- a/doc/colon_operator.txt +++ b/doc/colon_operator.txt @@ -3,9 +3,9 @@ DESCRIPTION *colon_operator* This plugin provides a mapping target to use an Ex command as an operator, in -a way repeatable with the |.| (dot) operator. This allows you to, for example, +a way repeatable with the |.| (dot) operator. This allows you to, for example, |:sort| a text object like a paragraph, and then repeat it on another -paragraph. Think of it as the |:| analogue to the |!| motion. +paragraph. Think of it as the |:| analogue to the |!| motion. REQUIREMENTS *colon_operator-requirements* @@ -14,8 +14,8 @@ This plugin only loads if 'compatible' is not set. MAPPINGS *colon_operator-mappings* *(ColonOperator)* -The single normal mode mapping target is |(ColonOperator)|. There is no -default key mapping; you should define one yourself in your |vimrc|. For +The single normal mode mapping target is |(ColonOperator)|. There is no +default key mapping; you should define one yourself in your |vimrc|. For example: > nmap g: (ColonOperator) -- cgit v1.2.3 From fb3d969f998fd771f7fc77f7aba3a3e664601c00 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 9 May 2019 10:55:02 +1200 Subject: Remove unneeded variable scoping --- plugin/colon_operator.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/colon_operator.vim b/plugin/colon_operator.vim index ea0cc46..5a30115 100644 --- a/plugin/colon_operator.vim +++ b/plugin/colon_operator.vim @@ -5,13 +5,13 @@ " Author: Tom Ryder " License: Same as Vim itself " -if exists('g:loaded_colon_operator') || &compatible +if exists('loaded_colon_operator') || &compatible finish endif if v:version < 700 finish endif -let g:loaded_colon_operator = 1 +let loaded_colon_operator = 1 " Set up mapping nnoremap -- cgit v1.2.3 From d93fbf09d720ef9810c956029ffa2baa747ad42f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 9 May 2019 10:55:18 +1200 Subject: Bump VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 0d91a54..1d0ba9e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.0 +0.4.0 -- cgit v1.2.3