From 3a409f5784bae59a814c74971f58611077c64ef1 Mon Sep 17 00:00:00 2001
From: mitchell <70453897+667e-11@users.noreply.github.com>
Date: Mon, 25 Apr 2011 17:05:57 -0400
Subject: Changed Mac OSX Adeptsense completion from '~' to 'Ctrl+Esc'.
---
doc/manual/14_Appendix.md | 2 +-
modules/cpp/init.lua | 4 ++--
modules/lua/init.lua | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/manual/14_Appendix.md b/doc/manual/14_Appendix.md
index 2237cb66..82ab7d69 100644
--- a/doc/manual/14_Appendix.md
+++ b/doc/manual/14_Appendix.md
@@ -26,7 +26,7 @@
Ctrl+E | Ctrl+M | Go to matching brace |
Ctrl+Shift+E | Apple+Shift+E | Select to matching brace |
Ctrl+Return | Escape | Autocomplete word in file |
- Ctrl+I | ~ | Autocomplete symbol for supported languages |
+ Ctrl+I | Ctrl+Escape | Autocomplete symbol for supported languages |
Ctrl+H | Ctrl+H | Show symbol apidoc for supported languages |
Ctrl+Q | Ctrl+Q | Block comment/uncomment |
None | None | Delete word |
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 },
}
--
cgit v1.2.3