summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-11-19 16:30:51 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-11-21 09:40:40 -0700
commitf0aa7affa9942ba92a44700f0cafeaa995eea33c (patch)
tree97c0d20816be4b7a70113a2fcc5f6b13b1a600c4
parent06ca841640bbdf185c8b4195061441c0ff216a3b (diff)
downloaddotfiles-f0aa7affa9942ba92a44700f0cafeaa995eea33c.tar.gz
move completion back to C-M-i
C-M-i is consistently available to Emacs, so far as I can tell. It is good always to be able to hit TAB to ensure indentation is correct without having to think about whether that's going to trigger completion.
-rw-r--r--.config/i3/config2
-rw-r--r--.config/sway/config2
-rw-r--r--.emacs.d/init.el14
3 files changed, 2 insertions, 16 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 93fb9004..4a2b5b52 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -255,7 +255,7 @@ bindsym Mod1+Ctrl+0 move right
bindsym Mod1+Ctrl+8 move down
bindsym Mod1+Ctrl+9 move up
-bindsym Mod1+Ctrl+i kill
+bindsym Ctrl+5 kill
bindsym Ctrl+minus layout toggle split
diff --git a/.config/sway/config b/.config/sway/config
index e2c4b0d3..64100817 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -267,7 +267,7 @@ bindsym Mod1+Ctrl+0 move right
bindsym Mod1+Ctrl+8 move down
bindsym Mod1+Ctrl+9 move up
-bindsym Mod1+Ctrl+i kill
+bindsym Ctrl+5 kill
bindsym Ctrl+minus layout toggle split
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index f1f480e6..da5e41ca 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -394,10 +394,8 @@ windows side-by-side in the frame."
'(shell-command-prompt-show-cwd t)
'(show-paren-when-point-in-periphery t nil nil "Useful for C-M-d.")
'(shr-max-width 78)
- '(tab-always-indent 'complete nil nil "M-TAB not consistently available to Emacs.")
'(tab-bar-history-mode t)
'(tab-bar-show 1)
- '(tab-first-completion 'eol)
'(tramp-use-ssh-controlmaster-options nil nil nil "Rely on my ~/.ssh/config.")
'(tramp-verbose 1 nil nil "Manual says this should improve performance.")
'(transient-cycles-buffer-siblings-mode t)
@@ -1176,18 +1174,6 @@ To be used only when it seems to be necessary."
(interactive)
(kill-region (minibuffer-prompt-end) (point-max))))
-;; Default binding for this function, M-TAB, may not be available to Emacs
-;; as it is commonly used by window managers etc., and this is very useful
-;; when renaming files. Also, when typing a path to a remote file on a host
-;; we're not connected to use, this can be used to cause TRAMP to open a
-;; connection and thereby get filename completion going, though it is
-;; smoother to start by using C-x d to connect to the host and only then
-;; using C-x C-f.
-;;
-;; M-j is a better key to rebind than C-j because in C-M-j is bound to the
-;; same thing as M-j in the default global map
-(define-key icomplete-fido-mode-map [?\M-j] #'icomplete-force-complete)
-
;; Preserve some standard bindings for editing text in the minibuffer.
(define-key icomplete-minibuffer-map [?\C-j] nil)
(define-key icomplete-fido-mode-map [?\C-r] nil)