mirror of
https://github.com/theniceboy/.config.git
synced 2026-04-05 07:46:26 +08:00
lazynpm mappings
This commit is contained in:
parent
396497e3f5
commit
c99acc26e3
3 changed files with 7 additions and 3 deletions
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
python3 "$LOCALPROG"/ranger/ranger.py
|
||||
|
|
@ -351,6 +351,7 @@ map <CR> toggleVCS
|
|||
|
||||
# Open lazygit
|
||||
map <c-g> shell lazygit
|
||||
map <c-n> shell lazynpm
|
||||
|
||||
# locations
|
||||
map gh cd ~
|
||||
|
|
|
|||
|
|
@ -10,3 +10,9 @@ function openlazygit {
|
|||
|
||||
zle -N openlazygit; bindkey "^G" openlazygit
|
||||
|
||||
function openlazynpm {
|
||||
zle_eval lazynpm
|
||||
}
|
||||
|
||||
zle -N openlazynpm; bindkey "^N" openlazynpm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue