-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3630407
commit 444300d
Showing
5 changed files
with
85 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: 'Nightly build' | ||
lastUpdated: 2025-01-02T18:07:10 | ||
--- | ||
Nightly build | ||
|
||
- 매일 발생하는 소프트웨어에 대한 수정사항을 포함하고 있는 소프트웨어 배포버전이다. 소프트웨어는 테스트가 되어 있지 않을 수 있기 때문에 매우 불안정한 상태이다. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
title: 'vim' | ||
lastUpdated: 2025-01-02T18:07:10 | ||
--- | ||
## map, noremap | ||
|
||
> <https://stackoverflow.com/questions/3776117/what-is-the-difference-between-the-remap-noremap-nnoremap-and-vnoremap-mapping> | ||
map, noremap 둘다 특정키를 매핑하는 역할을 한다. | ||
둘의 차이는 recursive vs non-recursive 이다. 에를 들어 | ||
|
||
``` | ||
:map j gg | ||
:map Q j | ||
``` | ||
|
||
를 하면 j를 누르면 gg를 누른 것과 동일한 효과를 얻게 된다. | ||
만약 대문자 Q를 누른다면 j로 매핑한다음 다시 j가 gg를 가리키므로 결과적으로 Q는 gg를 수행하게 된다. | ||
그래서 map을 ‘recursive’하다라고 얘기한다. 매핑되는 키의 또다른 매핑되는 키를 찾아가게 된다. | ||
|
||
하지만 noremap은 non-recursive map이다. | ||
|
||
``` | ||
:map j gg | ||
:noremap Q j | ||
``` | ||
|
||
Q를 누르면 j를 누르는 효과이다. | ||
|
||
map command에 대한 mode별 버전들이 있다. | ||
|
||
nmap - works recursively in normal mode. | ||
imap - works recursively in insert mode. | ||
vmap - works recursively in visual and select modes. | ||
xmap - works recursively in visual mode. | ||
smap - works recursively in select mode. | ||
cmap - works recursively in command-line mode. | ||
omap - works recursively in operator pending mode. | ||
|
||
non-recursive 버전도 동일하다. | ||
|
||
nnoremap - works non-recursively in normal mode. | ||
inoremap - works non-recursively in insert mode. | ||
vnoremap - works non-recursively in visual and select modes. | ||
xnoremap - works non-recursively in visual mode. | ||
snoremap - works non-recursively in select mode. | ||
cnoremap - works non-recursively in command-line mode. | ||
onoremap - works non-recursively in operator pending mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters