remove emerge binds
This commit is contained in:
parent
4e57c45fde
commit
b2b4c9d9b5
30
keymap.c
30
keymap.c
|
@ -17,7 +17,6 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
#include "config.h"
|
||||
#include "keycodes.h"
|
||||
#include "leader.h"
|
||||
|
||||
/* Define our layers */
|
||||
enum layers {
|
||||
|
@ -275,35 +274,6 @@ bool get_custom_auto_shifted_key(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
}
|
||||
|
||||
/* Define our leader key sequences */
|
||||
LEADER_EXTERNS();
|
||||
|
||||
void matrix_scan_user(void) {
|
||||
LEADER_DICTIONARY() {
|
||||
leading = false;
|
||||
leader_end();
|
||||
|
||||
// Portage commands
|
||||
SEQ_TWO_KEYS(KC_E, KC_S) {
|
||||
SEND_STRING(SEARCH);
|
||||
}
|
||||
SEQ_TWO_KEYS(KC_E, KC_I) {
|
||||
SEND_STRING(INSTALL);
|
||||
}
|
||||
SEQ_TWO_KEYS(KC_E, KC_R) {
|
||||
SEND_STRING(REMOVE);
|
||||
}
|
||||
SEQ_TWO_KEYS(KC_E, KC_U) {
|
||||
SEND_STRING(UPDATE);
|
||||
}
|
||||
SEQ_THREE_KEYS(KC_E, KC_U, KC_U) {
|
||||
SEND_STRING(UPGRADE);
|
||||
}
|
||||
SEQ_TWO_KEYS(KC_E, KC_C) {
|
||||
SEND_STRING(DEPCLEAN);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* Keyboard Post Initialization */
|
||||
void keyboard_post_init_user(void) {
|
||||
autoshift_disable();
|
||||
|
|
9
leader.h
9
leader.h
|
@ -1,9 +0,0 @@
|
|||
// Here we keep our leader key strings
|
||||
|
||||
// Gentoo
|
||||
#define SEARCH "emerge --search "
|
||||
#define INSTALL "sudo emerge --ask --verbose "
|
||||
#define REMOVE "sudo emerge --ask --verbose --depclean "
|
||||
#define UPDATE "sudo emaint --auto sync\n"
|
||||
#define UPGRADE "sudo emerge --ask --verbose --update --deep --newuse --with-bdeps=y @world\n"
|
||||
#define DEPCLEAN "sudo emerge --ask --verbose --depclean\n"
|
Loading…
Reference in a new issue