|
184 | 184 | // vim-surround |
185 | 185 | "vim.surround": true, |
186 | 186 |
|
187 | | - // vim settings binding key |
188 | 187 | "vim.normalModeKeyBindingsNonRecursive": [ |
189 | 188 | { "before": ["/"], "commands": ["fuzzySearch.activeTextEditor"] }, |
190 | 189 | { "before": ["\\"], "commands": ["whichkey.show"] }, |
|
197 | 196 |
|
198 | 197 | // Undo |
199 | 198 | { "before": ["<C-z>"], "commands": ["undo"] }, |
200 | | - |
| 199 | + |
201 | 200 | // move |
202 | 201 | { "before": ["j"], "after": ["g", "j", "z", "z"] }, |
203 | 202 | { "before": ["k"], "after": ["g", "k", "z", "z"] }, |
|
208 | 207 |
|
209 | 208 | // move lines |
210 | 209 | { "before": ["<C-j>"], "commands": ["editor.action.moveLinesDownAction"] }, |
211 | | - { "before": ["<C-Down>"], "commands": ["editor.action.moveLinesDownAction"] }, |
| 210 | + { |
| 211 | + "before": ["<C-Down>"], |
| 212 | + "commands": ["editor.action.moveLinesDownAction"] |
| 213 | + }, |
212 | 214 | { "before": ["<C-k>"], "commands": ["editor.action.moveLinesUpAction"] }, |
213 | 215 | { "before": ["<C-Up>"], "commands": ["editor.action.moveLinesUpAction"] }, |
214 | 216 | { "before": ["<C-d>"], "commands": ["editor.action.copyLinesDownAction"] }, |
|
248 | 250 | { "before": ["<leader>", "b", "y"], "commands": [ "editor.action.selectAll", "editor.action.clipboardCopyAction", "cancelSelection" ] }, // copy all file (Ctr+A - Ctrl C ) |
249 | 251 | { "before": ["<leader>", "b", "p"], "commands": ["editor.action.selectAll", "editor.action.past"] }, // selected all file and past |
250 | 252 | { "before": ["<leader>", "b", "c"], "commands": ["workbench.action.closeOtherEditors"] }, // Close others buffer |
251 | | - { "before": ["<leader>", "e"], "commands": ["workbench.action.toggleSidebarVisibility"] }, // splits - mở cửa sổ editer trái phải |
| 253 | + { "before": ["<leader>", "e"], "commands": ["workbench.action.toggleSidebarVisibility"] }, |
| 254 | + // splits - mở cửa sổ editer trái phải |
252 | 255 | { "before": ["<leader>", "v"], "commands": [":vsplit"] }, |
253 | 256 | { "before": ["<leader>", "s"], "commands": [":split"] }, |
254 | 257 |
|
255 | 258 | // Chuyển sang cửa sổ (editor) bên |
256 | | - { "before": ["<leader>", "h"], "commands": ["workbench.action.focusLeftGroup"] }, |
257 | | - { "before": ["<leader>", "j"], "commands": ["workbench.action.focusBelowGroup"] }, |
258 | | - { "before": ["<leader>", "k"], "commands": ["workbench.action.focusAboveGroup"] }, |
259 | | - { "before": ["<leader>", "l"], "commands": ["workbench.action.focusRightGroup"] }, |
| 259 | + { |
| 260 | + "before": ["<leader>", "h"], |
| 261 | + "commands": ["workbench.action.focusLeftGroup"] |
| 262 | + }, |
| 263 | + { |
| 264 | + "before": ["<leader>", "j"], |
| 265 | + "commands": ["workbench.action.focusBelowGroup"] |
| 266 | + }, |
| 267 | + { |
| 268 | + "before": ["<leader>", "k"], |
| 269 | + "commands": ["workbench.action.focusAboveGroup"] |
| 270 | + }, |
| 271 | + { |
| 272 | + "before": ["<leader>", "l"], |
| 273 | + "commands": ["workbench.action.focusRightGroup"] |
| 274 | + }, |
260 | 275 |
|
261 | 276 | // LEADER |
262 | 277 | { "before": ["<leader>", "r"], "commands": ["editor.action.rename"] }, |
263 | 278 | { "before": ["<leader>", "p"], "commands": ["workbench.action.quickOpen"] }, |
264 | | - { "before": ["<leader>", "P"], "commands": ["workbench.action.showCommands"] }, |
| 279 | + { |
| 280 | + "before": ["<leader>", "P"], |
| 281 | + "commands": ["workbench.action.showCommands"] |
| 282 | + }, |
265 | 283 | { "before": ["<leader>", "f"], "commands": ["actions.find"] }, |
266 | | - { "before": ["<leader>", "f", "a"], "commands": ["workbench.action.findInFiles"] }, |
| 284 | + { |
| 285 | + "before": ["<leader>", "f", "a"], |
| 286 | + "commands": ["workbench.action.findInFiles"] |
| 287 | + }, |
267 | 288 |
|
268 | 289 | // #harpoon |
269 | | - { "before": ["<leader>", "h", "p"], "commands": ["vscode-harpoon.editorQuickPick"] }, |
270 | | - { "before": ["<leader>", "h", "a"], "commands": ["vscode-harpoon.addEditor"] }, |
271 | | - { "before": ["<leader>", "h", "e"], "commands": ["vscode-harpoon.editEditors"] }, |
272 | | - { "before": ["<leader>", "h", "e"], "commands": ["vscode-harpoon.editEditors"] }, |
| 290 | + { |
| 291 | + "before": ["<leader>", "h", "p"], |
| 292 | + "commands": ["vscode-harpoon.editorQuickPick"] |
| 293 | + }, |
| 294 | + { |
| 295 | + "before": ["<leader>", "h", "a"], |
| 296 | + "commands": ["vscode-harpoon.addEditor"] |
| 297 | + }, |
| 298 | + { |
| 299 | + "before": ["<leader>", "h", "e"], |
| 300 | + "commands": ["vscode-harpoon.editEditors"] |
| 301 | + }, |
| 302 | + { |
| 303 | + "before": ["<leader>", "h", "e"], |
| 304 | + "commands": ["vscode-harpoon.editEditors"] |
| 305 | + }, |
273 | 306 |
|
274 | 307 | // |
275 | 308 | { "before": ["<leader>", "y"], "commands": ["vim.showRegisters"] }, |
|
309 | 342 | // -------------------------------------- |
310 | 343 | // VSCode Animations: |
311 | 344 | // -------------------------------------- |
312 | | - "animations.Command-Palette": "Slide", // Hiệu ứng animation cho Command Palette - "None", "Scale", "Slide", "Fade" |
313 | | - "animations.Tabs": "Scale", // Hiệu ứng animation cho tab - "None", "Scale", "Slide", "Flip" |
314 | | - "animations.Scrolling": "None", // Hiệu ứng animation khi cuộn - "None", "Scale", "Slide", "Fade" |
315 | | - "animations.Active": "Indent", // Hiệu ứng animation cho item đang hoạt động - "None", "Scale", "Indent" |
316 | | - "animations.CursorAnimation": true, // Hiệu ứng làm mờ khi mất focus |
| 345 | + "animations.Command-Palette": "Slide", // Hiệu ứng animation cho Command Palette - "None", "Scale", "Slide", "Fade" |
| 346 | + "animations.Tabs": "Scale", // Hiệu ứng animation cho tab - "None", "Scale", "Slide", "Flip" |
| 347 | + "animations.Scrolling": "None", // Hiệu ứng animation khi cuộn - "None", "Scale", "Slide", "Fade" |
| 348 | + "animations.Active": "Indent", // Hiệu ứng animation cho item đang hoạt động - "None", "Scale", "Indent" |
| 349 | + "animations.CursorAnimation": true, // Hiệu ứng làm mờ khi mất focus |
317 | 350 | "animations.CursorAnimationOptions": { |
318 | 351 | "Color": "#333", |
319 | 352 | "CursorStyle": "line", |
|
332 | 365 | "file:///Users/_david/vscode-custom/vscode-styles.css", |
333 | 366 | "file:///Users/_david/.vscode/extensions/brandonkirbyson.vscode-animations-2.0.7/dist/updateHandler.js" |
334 | 367 | ], |
335 | | - // "vscode_custom_css.imports": [ |
336 | | - // "file:///C:/Users/DanielVo/Documents/vscode-settings/vscode-script.js", |
337 | | - // "file:///C:/Users/DanielVo/Documents/vscode-settings/vscode-styles.css", |
338 | | - // "file:///C:/Users/DanielVo/.vscode/extensions/brandonkirbyson.vscode-animations-2.0.7/dist/updateHandler.js" |
339 | | - // ], |
340 | 368 |
|
341 | 369 | // -------------------------------------- |
342 | 370 | // WHICH KEY |
|
981 | 1009 | "name": "[D]eveloper [+]", |
982 | 1010 | "type": "bindings", |
983 | 1011 | "bindings": [ |
984 | | - { "key": "r", "name": "[r]eload Window", "type": "command", "command": "workbench.action.reloadWindow" } |
| 1012 | + { |
| 1013 | + "key": "r", |
| 1014 | + "name": "[r]eload Window", |
| 1015 | + "type": "command", |
| 1016 | + "command": "workbench.action.reloadWindow" |
| 1017 | + } |
985 | 1018 | ] |
986 | 1019 | }, |
987 | 1020 | { |
|
994 | 1027 | "name": "Extension [c]ustom CSS and JS Loaded [+]", |
995 | 1028 | "type": "bindings", |
996 | 1029 | "bindings": [ |
997 | | - { "key": "r", "name": "[r]eload/update", "type": "command", "command": "extension.updateCustomCSS" } |
| 1030 | + { |
| 1031 | + "key": "r", |
| 1032 | + "name": "[r]eload/update", |
| 1033 | + "type": "command", |
| 1034 | + "command": "extension.updateCustomCSS" |
| 1035 | + } |
998 | 1036 | ] |
999 | 1037 | }, |
1000 | 1038 | { |
|
1054 | 1092 | ] |
1055 | 1093 | } |
1056 | 1094 | ], |
1057 | | - |
| 1095 | + |
1058 | 1096 | // To improve performance |
1059 | 1097 | "extensions.experimental.affinity": { |
1060 | 1098 | "vscodevim.vim": 1 |
|
1081 | 1119 | "statusBar.debuggingBackground": "#1F7D53", |
1082 | 1120 | "statusBar.foreground": "#ffffff", |
1083 | 1121 | "statusBar.debuggingForeground": "#ffffff" |
1084 | | - } |
| 1122 | + }, |
| 1123 | + |
1085 | 1124 | } |
0 commit comments