recentpopularlog in

kme : keybindings   30

bash - How to set Readline key bindings using ALT (Meta) or some other control key as prefix instead of `C-` and `e`? - Unix & Linux Stack Exchange |
There are too many questions in one question, but this one's interesting:
Furthermore, how can I control the "timeout" that should occur before a key binding, that is a prefix of a longer key binding, is executed?
macos  inputrc  keybindings  terminal 
10 weeks ago by kme
Gmail · Wiki · Mutt Project / mutt · GitLab
Here's how you change into a folder if the folder can also contain subfolders: press <space>.
You can change folders using the change-folder command, but you'll need to hit <space> to view the files instead of just changing folders.
email  mutt  imap  keybindings  davmail  solution 
september 2019 by kme
A minimalist guide to tmux | Hacker News
Well, I was half-joking :-) and I did expect that few people would know about C-\ for SIGQUIT. Myself, I find it very useful for programs written by people who think it's a good idea to capture SIGINT (it's not), because same people (and I will refrain from using adjectives) forget about SIGQUIT most of the time. Which means I can quickly kill a misbehaving program without typing something in a separate shell.
tmux  terminal  multiplexer  jobcontrol  keybindings  tipsandtricks 
july 2019 by kme
readline - How do I reload .inputrc using a bash script? - Super User |
Use the bind command:
<code class="language-bash">
bind -f ~/.inputrc

See help bind for more information:
-f filename Read key bindings from FILENAME.
keybindings  macros  inputrc  bash  configfile  configsettings  solution 
october 2018 by kme
vim - selecting text tmux copy-mode - Super User
You definitely want to enable the Vi mode, though:
setw -g mode-keys vi

because for the life of me, I can't figure out how to copy and paste with the Emacs-mode keybindings.
tmux  copypaste  clipboard  terminalmultiplexor  keybindings  vim  solution 
april 2017 by kme
vim - How to use vi mode in fish shell? - Stack Overflow
Vi mode will be in version 2.2.0. If you want to use it now, do the following:

Install a nightly build. If you're using Linux, you can get a nightly from here. On OS X using homebrew, use brew install fish --HEAD. You can also build from source following the instructions in the readme.
Run fish_vi_mode to try it. If you want to make it the default, add a line fish_vi_mode to ~/.config/fish/
vim  keybindings  vimode  fish  configfile  customization  essential  movein  solution 
january 2017 by kme
A Modern Space Cadet / Steve Losh
Seems like this article might have a solution for the lack of an Ins key on Mac keyboards.
keyboard  mac  osx  spacecadet  shortcuts  hotkeys  keybindings  utility  software  howto  mechanicalkeyswitch  tmux 
october 2014 by kme
A useful Caps Lock key -
In later versions of OS X you can easily remap Caps Lock to Ctrl: just check the "Keyboard" prefpane and click on the "Modifier Keys" button.
vim  keybindings  mac  osx  capslock  keyboard  scancode  remapping  productivity 
october 2014 by kme
Vim mode for the readline — VIM Zone
# Be 8 bit clean.
set meta-flag on
set input-meta on
set output-meta on
set convert-meta off

# mode in everything that uses readline
set editing-mode vi
set keymap vi
vi  keybindings  readline  configfile  solution 
september 2014 by kme
osx - Updating modifier key mappings through defaults command tool - Ask Different
defaults -currentHost write -g -array-add '<dict><key>HIDKeyboardModifierMappingDst</key><integer>-1</integer><key>HIDKeyboardModifierMappingSrc</key><integer>0</integer></dict>'
remapcapslocktoctrl  capslock  keybindings  mac  osx  osxdefaults  solution  commandline 
april 2014 by kme

Copy this bookmark:

to read