diff options
| author | Marc Vertes <mvertes@free.fr> | 2024-09-27 12:31:51 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2024-09-27 12:31:51 +0200 |
| commit | 747e6fac1ac0dee69e118f0478a9ad640655c74a (patch) | |
| tree | 59cd101e088956eb49eb0476f3bdba1b82ac0983 | |
| parent | f9506ca486f9e0ecc8097f95385813b658ccff7a (diff) | |
update
| -rw-r--r-- | .bashrc | 3 | ||||
| -rw-r--r-- | .vimrc | 2 | ||||
| -rwxr-xr-x | bin/ql | 3 |
3 files changed, 8 insertions, 0 deletions
@@ -11,6 +11,9 @@ export HISTSIZE=100000 # big big history export HISTFILESIZE=100000 # big big history shopt -s histappend # append to history, don't overwrite it +# Disable Ctrl-S +stty -ixon + # Save and reload the history after each command finishes #export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" @@ -133,6 +133,8 @@ noremap <leader>i :cs find i <C-R>=expand("<cfile>")<CR><CR><tab> " noremap <leader>f :cs find f <C-R>=expand("<cfile>")<CR><CR><tab> noremap <leader>d :cs find d <C-R>=expand("<cword>")<CR><CR><tab> +noremap <leader>w :!ql %<CR><CR> + function! CloseOnLast() let cnt = 0 for i in range(0, bufnr("$")) @@ -0,0 +1,3 @@ +#!/bin/sh + +qlmanage -p "$1" >/dev/null 2>&1 </dev/null & |
