Compare commits

..

No commits in common. "8bc72ea0da08598524f271c97c629b6b9840c4ec" and "74a6e2adfcda97601b8089a390a94d7201d8d89a" have entirely different histories.

2 changed files with 4 additions and 92 deletions

View File

@ -14,89 +14,7 @@
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"description": "Change right_command+hjkl to arrow keys",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"right_command"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
}
]
"rules": []
},
"devices": [
{
@ -198,7 +116,7 @@
},
"to": [
{
"key_code": "right_command"
"key_code": "left_command"
}
]
},

View File

@ -177,8 +177,6 @@ set statusline+=\ [%c]
" Keyboard shortcuts
""""""""""""""""""""""""""""""""
let mapleader = "\<Space>"
nmap <leader>a :CocAction<CR>
nmap <leader>2 :w!<cr>
" Go to definition
nmap <leader>gd <Plug>(coc-definition)
@ -254,12 +252,8 @@ vnoremap F <C-v>$A
vnoremap f <C-v>0I
" Better management of tabs
nnoremap <Leader>7 :tabprevious<CR>
nnoremap <Leader>8 :tabnext<CR>
" Better moving
nnoremap J }
nnoremap K {
nnoremap K :tabprevious<CR>
nnoremap J :tabnext<CR>
" Copy into system
noremap <Leader>y "*y