diff options
author | hluk <hluk@email.cz> | 2013-03-16 13:32:32 +0100 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-03-18 17:11:53 +0100 |
commit | 70adf53fbdc01f00c31261e532aad70507859246 (patch) | |
tree | 087b568a613e83594fe1afc154cf6e309086e9a6 /src/plugins/fakevim/fakevimactions.cpp | |
parent | bcb11829bab091c0e2c8ea4de42cc03aa5359f0c (diff) |
FakeVim: Option 'passnewline' (not in Vim)
Option 'passnewline' ('pnl') passes new line in insert mode and on 'o'
and 'O' commands to editor widget. This way the editor widget can handle
the indentation or insert characters (e.g. asterisk if in C block
comment).
Change-Id: I06afab6b20b49e1b4d31447826c847d36d32806f
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/fakevim/fakevimactions.cpp')
-rw-r--r-- | src/plugins/fakevim/fakevimactions.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fakevim/fakevimactions.cpp b/src/plugins/fakevim/fakevimactions.cpp index 4432e8d1b8..9672b6af23 100644 --- a/src/plugins/fakevim/fakevimactions.cpp +++ b/src/plugins/fakevim/fakevimactions.cpp @@ -180,6 +180,7 @@ FakeVimSettings *theFakeVimSettings() #endif createAction(s, ConfigShowMarks, false, _("ShowMarks"), _("sm")); createAction(s, ConfigPassControlKey, false, _("PassControlKey"), _("pck")); + createAction(s, ConfigPassNewLine, false, _("PassNewLine"), _("pnl")); // Emulated Vim setting createAction(s, ConfigStartOfLine, true, _("StartOfLine"), _("sol")); |