Tag Info

New answers tagged

4

Without a count, ^ and _ are indeed equivalent, but the latter supports a count: _ <underscore> [count] - 1 lines downward, on the first non-blank character |linewise|. The linewise explains your second observation: when used as a motion, it not just covers the text between the previous position and the new ...


0

Install 'dconf-editor' if you don't have. Launch it and go in left panel to org->gnome->mutter. There you can change value of 'overlay-key' to 'Control_L' or 'Control_R' or any other key if you want. Setting is applied instantly after closing edition (click some where else in dconf-editor).


3

Well, running program or function in bash on F12 key press in easy: ~/.bash_profile: sendsig(){ kill -KILL <somepid> } bind -x '"\e[24~":sendsig' But sending it to proper process is up to you… HTH, Cheers


2

I don't think that is possible. The key problem here is, that the panel does neither become an active window when you hover over it with mouse nor does it grab the keyboard. Which means it is probably not receiving the keyboard events at all. See also related discussion where a workaround via xdotool is suggested. If you decided to go down that road, you ...


1

I do not know the exact answer to your question. But this may help. I am using Fedora and not Mint however I still believe this should work. There are different shortcut keys assigned for a particular type of command execution.You can find them in your System -> Preferences -> [System] ->Keyboard Shortcuts. You will also see various different ...


0

The program xchainkeys does what you need, plus some useful variants of it. It is independent of the desktop environment. A possible configuration is to have something like a mode, where you do not need to repeat the prefix key for a series of hotkeys; With this, instead of Super+K Left Super+K Down typing Super+K Left Down is enough.


4

The Vim term for text that can be selected, yanked, deleted, and modified based on certain groupings of characters is text object (see :help text-objects). There's a comment-aware text object plugin called textobj-comment.


12

Use Ctrl+u: From bash documentation, Killing And Yanking: unix-line-discard (C-u) Kill backward from the cursor to the beginning of the current line. Ctrl+u behavior is not only controlled by the shells that have their own line editor like bash, zsh, tcsh, sh -o emacs, but also by the line discipline of the terminal driver when in canonical mode ...


2

First of all don't be worry about [ 602.262297] bcm2708_fb_blank blank_mode=1 and similar messages, they are all kernel messages, which are written to console because logging daemon is not ready yet for writing them to a file. Just ignore it or put loglevel=3 into kernel commandline options. Second thing is with passing passphrase do decrypt luks master ...


3

I agree that would be seriously useful, but you can't currently do this. In the source code, the input-bar exec command mapping is here in config.c. However, the shortcut mappings (starting here) which seem to define what functions can be referred to from the configs don't mention exec. The code isn't structured to easily mix "command" functions and ...


0

You might want to try tmux-yank plugin. It enables copying straight to system clipboard (OS X and Linux) and some other goodies like yanking the current shell line.


0

I can suggest the following script. #!/bin/sh mk_google_query() { url_encode() { # http://stackoverflow.com/a/298258/3541063 perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$1" } echo "http://google.com/search?q=`url_encode "$1"`" } SEARCH_TEXT=`xsel` xdg-open `mk_google_query "$SEARCH_TEXT"` This script uses xsel to ...



Top 50 recent answers are included