Use SPC h w to find shortcut or command
| Combination | Description |
|---|
참고: 옵션, 플래그, 명령어 변형 등에 대한 구체적인 예시는 모든 경우를 포괄하지 않습니다.
Vim은 모든 키의 동작 방식을 바꾸는 2가지 주요 "모드"를 가지고 있습니다. Vim의 기본 모드는 노멀 모드이며, 주로 커서 이동과 현재 파일 내 탐색에 사용됩니다.
일부 중요한 (또는 긴) 명령어는 ":"로 시작하며, 입력하는 텍스트는 화면 좌측 하단에 표시됩니다.
:q[uit] - Vim (의 현재 창)을 종료합니다. (여기서 "창"은 Vim 내부의 창을 의미하며, 동시에 여러 개의 OS 레벨 Vim 창을 열어둔 경우가 아닙니다.)
:q! - 강제 종료 (마지막 저장 이후 현재 버퍼가 변경된 경우)
:e[dit] {filename} - 파일 {filename}을 새 버퍼로 읽어들입니다.
| using StackExchange.Redis; | |
| namespace RedisLockTest; | |
| public enum LockStatus | |
| { | |
| Success, | |
| Failure, | |
| Timeout | |
| } |
| [ | |
| // | |
| // VIM NAVIGATION SHORTCUTS | |
| // | |
| { | |
| // "ctrl+h": Focuses on the left editor group when the text editor is focused, Vim extension is active, and Vim is not in Insert mode. | |
| "key": "ctrl+h", | |
| "command": "workbench.action.focusLeftGroup", | |
| "when": "editorTextFocus && vim.active && vim.mode != 'Insert'" |
| #include <Python.h> | |
| /***********************************************************/ | |
| /* define logging function and logtypes for python.logging */ | |
| /* by H.Dickten 2014 */ | |
| /***********************************************************/ | |
| enum logtypes {info, warning, error, debug}; | |
| static void log_msg(int type, char *msg) | |
| { |
| @ECHO ON | |
| :: Save the directory where we are | |
| pushd %CD% | |
| echo %CD% | |
| :: Shift directories to the correct path | |
| %~d0 | |
| cd %~dp0 |
Download postgresql from https://www.enterprisedb.com/download-postgresql-binaries;
Unzip it;
Open a cmd;
Enter into the ‘bin’ directory;
| """ Shows how to use flask and matplotlib together. | |
| Shows SVG, and png. | |
| The SVG is easier to style with CSS, and hook JS events to in browser. | |
| python3 -m venv venv | |
| . ./venv/bin/activate | |
| pip install flask matplotlib | |
| python flask_matplotlib.py | |
| """ |
| { | |
| "vim.easymotion": true, | |
| "vim.incsearch": true, | |
| "vim.useSystemClipboard": true, | |
| "vim.useCtrlKeys": true, | |
| "vim.hlsearch": true, | |
| "vim.sneak": true, | |
| "vim.easymotionMarkerBackgroundColor": "#222", | |
| "vim.normalModeKeyBindings": [ | |
| { |
| @mixin display-breakpoints { | |
| &:after { | |
| content: "xs"; | |
| position: fixed; | |
| width: 30px; | |
| font-size: 12px; | |
| text-align: center; | |
| background-color: black; | |
| color: lime; | |
| bottom: 0; |