mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Navigate To The Nth Column On A Line as a vim til
This commit is contained in:
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