mirror of
https://github.com/jbranchaud/til
synced 2026-01-04 23:58:01 +00:00
Add Navigate To The Nth Column On A Line as a vim til
This commit is contained in:
@@ -10,7 +10,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
||||
For a steady stream of TILs from a variety of rocketeers, checkout
|
||||
[til.hashrocket.com](https://til.hashrocket.com/).
|
||||
|
||||
_764 TILs and counting..._
|
||||
_765 TILs and counting..._
|
||||
|
||||
---
|
||||
|
||||
@@ -806,6 +806,7 @@ _764 TILs and counting..._
|
||||
- [Marks Across Vim Sessions](vim/marks-across-vim-sessions.md)
|
||||
- [Match The Beginning And End Of Words](vim/match-the-beginning-and-end-of-words.md)
|
||||
- [Moving To A Specific Line](vim/moving-to-a-specific-line.md)
|
||||
- [Navigate To The Nth Column On A Line](vim/navigate-to-the-nth-column-on-a-line.md)
|
||||
- [Navigating By Blank Lines](vim/navigating-by-blank-lines.md)
|
||||
- [NETRW Listing Styles](vim/netrw-listing-styles.md)
|
||||
- [Next Modified Buffer](vim/next-modified-buffer.md)
|
||||
|
||||
19
vim/navigate-to-the-nth-column-on-a-line.md
Normal file
19
vim/navigate-to-the-nth-column-on-a-line.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Navigate To The Nth Column On A Line
|
||||
|
||||
You can navigate the cursor to a specific column of the current line using
|
||||
the `|` character. For instance typing
|
||||
|
||||
```
|
||||
45|
|
||||
```
|
||||
|
||||
will navigate your cursor to the 45th column of the current line. If you
|
||||
type a number that exceeds the number of columns on the line, your cursor
|
||||
will be placed on the last column.
|
||||
|
||||
Here is what the help files have to say about `|`:
|
||||
|
||||
```
|
||||
| To screen column [count] in the current line.
|
||||
|exclusive| motion. Ceci n'est pas une pipe.
|
||||
```
|
||||
Reference in New Issue
Block a user