From 1e648771284d147bd11fc47ccb9b330e076da78b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 22 Jun 2013 01:09:13 -0400 Subject: vim, ftplugin sisu.vim, c-\ hard wrap lines to line width (moved from c-j) --- data/doc/sisu/CHANGELOG_v4 | 4 +++- data/doc/sisu/CHANGELOG_v5 | 4 +++- data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v4 b/data/doc/sisu/CHANGELOG_v4 index f598e377..a024d2b9 100644 --- a/data/doc/sisu/CHANGELOG_v4 +++ b/data/doc/sisu/CHANGELOG_v4 @@ -30,7 +30,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_4.1.5.orig.tar.xz sisu_4.1.5.orig.tar.xz sisu_4.1.5-1.dsc -* vim, colorscheme def, mark current line +* vim + * colorscheme def, mark current line + * ftplugin sisu.vim, c-\ hard wrap lines to line width (moved from c-j) %% 4.1.4.orig.tar.xz (2013-06-06:22/4) http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/sisu_4.1.4 diff --git a/data/doc/sisu/CHANGELOG_v5 b/data/doc/sisu/CHANGELOG_v5 index eca27852..194446fa 100644 --- a/data/doc/sisu/CHANGELOG_v5 +++ b/data/doc/sisu/CHANGELOG_v5 @@ -30,7 +30,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_5.0.5.orig.tar.xz sisu_5.0.5.orig.tar.xz sisu_5.0.5-1.dsc -* vim colorscheme def, mark current line +* vim + * colorscheme def, mark current line + * ftplugin sisu.vim, c-\ hard wrap lines to line width (moved from c-j) %% 5.0.4.orig.tar.xz (2013-06-06:22/4) http://sources.sisudoc.org/gitweb/?p=code/sisu.git;a=shortlog;h=refs/tags/sisu_5.0.4 diff --git a/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim b/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim index 1da73012..8f704718 100644 --- a/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim +++ b/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim @@ -72,10 +72,10 @@ "% map ":let mapleader = "," " consider :map paste :set invpaste -"% wrap/formatting paragraph according to the current 'textwidth' with ^J (control-j): -:imap gqap -:nmap gqap -:vmap gq +"% wrap/formatting paragraph according to the current 'textwidth' with ^\ (control-\): +:imap gqap +:nmap gqap +:vmap gq "% save file, go to next file in buffer :map nf :w :n "% vimdiff q exits -- cgit v1.2.3