aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/cpp/init.lua4
-rw-r--r--modules/lua/init.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/cpp/init.lua b/modules/cpp/init.lua
index caa6f183..168699b4 100644
--- a/modules/cpp/init.lua
+++ b/modules/cpp/init.lua
@@ -16,7 +16,7 @@ module('_m.cpp', package.seeall)
-- + `->`: When to the right of a known symbol, show an autocompletion list of
-- fields and functions.
-- + `Ctrl+I`: (Windows and Linux) Autocomplete symbol.
--- + `~`: (Mac OSX) Autocomplete symbol.
+-- + `Ctrl+Esc`: (Mac OSX) Autocomplete symbol.
-- + `Ctrl+H`: Show documentation for the selected symbol or the symbol under
-- the caret.
-- + `Shift+Return`: Add ';' to line end and insert newline.
@@ -91,7 +91,7 @@ _G.keys.cpp = {
buffer:add_text(';')
buffer:new_line()
end },
- [not OSX and 'ci' or '~'] = { sense.complete, sense },
+ [not OSX and 'ci' or 'cesc'] = { sense.complete, sense },
ch = { sense.show_apidoc, sense },
}
diff --git a/modules/lua/init.lua b/modules/lua/init.lua
index ae4d8ffc..cca7e3cb 100644
--- a/modules/lua/init.lua
+++ b/modules/lua/init.lua
@@ -19,7 +19,7 @@ module('_m.lua', package.seeall)
-- + `:`: When to the right of a known symbol, show an autocompletion list of
-- functions only.
-- + `Ctrl+I`: (Windows and Linux) Autocomplete symbol.
--- + `~`: (Mac OSX) Autocomplete symbol.
+-- + `Ctrl+Esc`: (Mac OSX) Autocomplete symbol.
-- + `Ctrl+H`: Show documentation for the selected symbol or the symbol under
-- the caret.
--
@@ -176,7 +176,7 @@ _G.keys.lua = {
g = { goto_required },
},
['s\n'] = { try_to_autocomplete_end },
- [not OSX and 'ci' or '~'] = { sense.complete, sense },
+ [not OSX and 'ci' or 'cesc'] = { sense.complete, sense },
ch = { sense.show_apidoc, sense },
}