mirror of
https://github.com/jbranchaud/til
synced 2026-01-18 06:28:02 +00:00
Add Edges Of The Selection as a vim til.
This commit is contained in:
@@ -124,6 +124,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
|||||||
- [Coerce The Current Filetype](vim/coerce-the-current-filetype.md)
|
- [Coerce The Current Filetype](vim/coerce-the-current-filetype.md)
|
||||||
- [Count the Number of Matches](vim/count-the-number-of-matches.md)
|
- [Count the Number of Matches](vim/count-the-number-of-matches.md)
|
||||||
- [Create A New File In A New Directory](vim/create-a-new-file-in-a-new-directory.md)
|
- [Create A New File In A New Directory](vim/create-a-new-file-in-a-new-directory.md)
|
||||||
|
- [Edges Of The Selection](vim/edges-of-the-selection.md)
|
||||||
- [End Of The Word](vim/end-of-the-word.md)
|
- [End Of The Word](vim/end-of-the-word.md)
|
||||||
- [Generate and Edit Rails Migration](vim/generate-and-edit-rails-migration.md)
|
- [Generate and Edit Rails Migration](vim/generate-and-edit-rails-migration.md)
|
||||||
- [Head of File Name](vim/head-of-file-name.md)
|
- [Head of File Name](vim/head-of-file-name.md)
|
||||||
|
|||||||
8
vim/edges-of-the-selection.md
Normal file
8
vim/edges-of-the-selection.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Edges Of The Selection
|
||||||
|
|
||||||
|
When you make a visual selection, Vim stores the position of the first
|
||||||
|
character of the selection in the `<` mark and the position of the last
|
||||||
|
character of the selection in the `>` mark.
|
||||||
|
|
||||||
|
Thus moving to the edges of your previous selection is easy. To move to the
|
||||||
|
beginning of the selection, press `\`<`. To move to the end, press `\`>`.
|
||||||
Reference in New Issue
Block a user