Compare commits

..

3 Commits

3 changed files with 964 additions and 995 deletions

View File

@ -23,12 +23,8 @@
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [
@ -42,12 +38,8 @@
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [
@ -61,12 +53,8 @@
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [
@ -80,12 +68,8 @@
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
"mandatory": ["right_command"],
"optional": ["any"]
}
},
"to": [
@ -102,14 +86,10 @@
"manipulators": [
{
"from": {
"key_code": "k",
"key_code": "j",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -123,14 +103,10 @@
},
{
"from": {
"key_code": "j",
"key_code": "k",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -146,12 +122,8 @@
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [
@ -167,12 +139,8 @@
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [
@ -188,13 +156,8 @@
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"any"
]
"mandatory": ["left_option", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -208,13 +171,8 @@
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"any"
]
"mandatory": ["left_option", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -228,13 +186,8 @@
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"any"
]
"mandatory": ["left_option", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -250,13 +203,8 @@
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"any"
]
"mandatory": ["left_option", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -272,13 +220,8 @@
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"any"
]
"mandatory": ["left_option", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -294,13 +237,8 @@
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"any"
]
"mandatory": ["left_option", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -316,13 +254,8 @@
"from": {
"key_code": "q",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"any"
]
"mandatory": ["left_option", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -336,13 +269,8 @@
"from": {
"key_code": "e",
"modifiers": {
"mandatory": [
"left_control",
"left_shift"
],
"optional": [
"any"
]
"mandatory": ["left_option", "left_shift"],
"optional": ["any"]
}
},
"to": [
@ -681,6 +609,16 @@
"key_code": "right_command"
}
]
},
{
"from": {
"key_code": "escape"
},
"to": [
{
"key_code": "grave_accent_and_tilde"
}
]
}
],
"treat_as_built_in_keyboard": false
@ -752,7 +690,28 @@
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [],
"simple_modifications": [
{
"from": {
"key_code": "right_command"
},
"to": [
{
"key_code": "right_option"
}
]
},
{
"from": {
"key_code": "right_option"
},
"to": [
{
"key_code": "right_command"
}
]
}
],
"treat_as_built_in_keyboard": false
},
{
@ -795,16 +754,6 @@
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": [
{
"from": {
"key_code": "left_option"
},
"to": [
{
"key_code": "right_command"
}
]
},
{
"from": {
"key_code": "left_command"
@ -814,6 +763,16 @@
"key_code": "left_option"
}
]
},
{
"from": {
"key_code": "left_option"
},
"to": [
{
"key_code": "right_command"
}
]
}
],
"treat_as_built_in_keyboard": false
@ -967,6 +926,16 @@
}
]
},
{
"from": {
"key_code": "escape"
},
"to": [
{
"key_code": "caps_lock"
}
]
},
{
"from": {
"key_code": "left_command"

View File

@ -142,7 +142,8 @@ call plug#begin('~/.config/nvim/plugged')
Plug 'sbdchd/neoformat'
Plug 'hrsh7th/cmp-vsnip'
Plug 'hrsh7th/nvim-vsnip'
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/vim-vsnip-integ'
" Telescope
Plug 'nvim-lua/plenary.nvim'

View File

@ -20,6 +20,10 @@ function update_pip() {
python3 -m pip install --upgrade pip --user
}
function install_neovim_module_for_python() {
pip3 install neovim --pre --user --force
}
function install_pyright() {
# Install pyright
sudo npm -g i pyright --force
@ -53,7 +57,8 @@ function install_gopls() {
function install_black() {
# Install black
pip3 install black --user --force
pip install black --pre --user --force
pip3 install black --pre --user --force
}
function install_ansible() {
@ -66,11 +71,6 @@ function install_ansible-language-server() {
sudo npm -g i yaml-language-server --force
}
function install_meraki_ansible() {
ansible-galaxy collection install cisco.meraki --force
pip3 install meraki --user --force
}
function main() {
command_start update_pip
command_start install_pyright
@ -82,7 +82,6 @@ function main() {
command_start install_gopls
command_start install_black
command_start install_ansible
command_start install_meraki_ansible
}
main