Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I saw vi-mode implementation for fish shell, but I have no clue how to use it. Is there any tutorial available online describing basic functionality, e.g. how to switch modes?
In fish 2.3.0 and later:
Run fish_vi_key_bindings to start vi mode
Run fish_default_key_bindings to go back to default mode
If you want to make it the default, add the fish_vi_key_bindings command to ~/.config/fish/config.fish.
I am using fish 2.2.0. The following worked for me:
Edit $HOME/.config/fish/functions/fish_user_key_bindings.fish
function fish_user_key_bindings
fish_vi_key_bindings
end
via this
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
IS there any way to find what commands we have run in linux server apart from history command
is there any log file where i can see what are commands i have run
unfortunately my ~/.bash_history is clear
On linux distributions and installations I encountered: no, it's not possible. Even .bash_history is storing only bash history (and some administrators can (and will) use other shell(s)) and has usually set a limit so sometimes gets truncated. You would have to write and configure such utility yourself.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
The community reviewed whether to reopen this question 11 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Is there any difference between the two parameters?
If not, what's the reason there's two parameter names that do exactly the same thing?
The name ‘-wholename’ is GNU-specific, but ‘-path’ is more portable; it is supported by HP-UX find and is part of the POSIX 2008 standard.
Examples given at:
https://www.gnu.org/software/findutils/manual/html_node/find_html/Full-Name-Patterns.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am new to terminal and I just wanted to know if there's any way I could start from where I left off to avoid typing the whole commands again.
Indeed there is. This is the main feature of GNU Screen, and also of tmux - choosing one is a matter of preference.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
basically I want to set a shortcut (ctrl+k) in my cygwin linux terminal to run
bind '"\C-k": kill-whole-line'
THEN immediately run
alias cls="echo -e '\033c\c'"
Both work by themselves but I would like to do it in one keyboard shortcut. Thanks in advance!
This sequence clear current input and executes terminal reset.
bind '"\C-k": "\C-e\C-uecho -e \"\\033c\\c\"\n"'
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I just switched my shell from bash to zsh and I noticed that zsh is not using same version of vim that I use in bash. Wondering why that might be the case? Do I need to set some config?
EDIT
remove other stuffs
You either have defined an alias for vim in one of them, or the value of the PATH variable is different.