diff options
author | KoffeinFlummi | 2020-12-31 02:22:19 +0100 |
---|---|---|
committer | KoffeinFlummi | 2020-12-31 02:22:19 +0100 |
commit | 93862c73f124904410ccc80e760b98cc6cbb0553 (patch) | |
tree | c67d527c7e816ec923b8f50a5ae9c457b681aef2 | |
parent | 87a53a8799ac0dcf59f6ad14b92721d4ee75b48d (diff) | |
download | aur-93862c73f124904410ccc80e760b98cc6cbb0553.tar.gz |
Fix patch
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | vim-keybindings.patch | 11 |
3 files changed, 8 insertions, 7 deletions
@@ -21,7 +21,7 @@ pkgbase = htop-vim-git source = git+https://github.com/htop-dev/htop.git source = vim-keybindings.patch sha256sums = SKIP - sha256sums = 0a777ea1b437a437a76dae5b14f8d1d790ab8e0e50a7fc74ef038c53d5bf0436 + sha256sums = e45f8092a944e497d9743ae72d87e83b0b86c1fc69f9ee3e3c0af73beb182d28 pkgname = htop-vim-git @@ -19,7 +19,7 @@ options=('!emptydirs') source=("git+${url}.git" 'vim-keybindings.patch') sha256sums=('SKIP' - '0a777ea1b437a437a76dae5b14f8d1d790ab8e0e50a7fc74ef038c53d5bf0436') + 'e45f8092a944e497d9743ae72d87e83b0b86c1fc69f9ee3e3c0af73beb182d28') pkgver() { cd "${srcdir}/${_pkgname}" diff --git a/vim-keybindings.patch b/vim-keybindings.patch index 3494d32f01e2..c23cc7e225ec 100644 --- a/vim-keybindings.patch +++ b/vim-keybindings.patch @@ -1,5 +1,5 @@ diff --git a/Action.c b/Action.c -index 206eb67..13d24d4 100644 +index 206eb67..99ef96d 100644 --- a/Action.c +++ b/Action.c @@ -443,7 +443,7 @@ static const struct { @@ -51,16 +51,17 @@ index 206eb67..13d24d4 100644 keys['Z'] = actionTogglePauseProcessUpdate; keys['['] = actionLowerPriority; keys['\014'] = actionRedraw; // Ctrl+L -@@ -664,8 +666,6 @@ void Action_setBindings(Htop_Action* keys) { +@@ -663,9 +665,6 @@ void Action_setBindings(Htop_Action* keys) { + keys['a'] = actionSetAffinity; keys['c'] = actionTagAllChildren; keys['e'] = actionShowEnvScreen; - keys['h'] = actionHelp; +- keys['h'] = actionHelp; - keys['k'] = actionKill; - keys['l'] = actionLsof; keys['m'] = actionToggleMergedCommand; keys['p'] = actionToggleProgramPath; keys['q'] = actionQuit; -@@ -673,7 +673,7 @@ void Action_setBindings(Htop_Action* keys) { +@@ -673,7 +672,7 @@ void Action_setBindings(Htop_Action* keys) { keys['t'] = actionToggleTreeView; keys['u'] = actionFilterByUser; keys['w'] = actionShowCommandScreen; @@ -69,7 +70,7 @@ index 206eb67..13d24d4 100644 keys[KEY_F(1)] = actionHelp; keys[KEY_F(2)] = actionSetup; keys[KEY_F(3)] = actionIncSearch; -@@ -685,6 +685,7 @@ void Action_setBindings(Htop_Action* keys) { +@@ -685,6 +684,7 @@ void Action_setBindings(Htop_Action* keys) { keys[KEY_F(9)] = actionKill; keys[KEY_F(10)] = actionQuit; keys[KEY_F(18)] = actionExpandCollapseOrSortColumn; |