# Jump to specific line number in a buffer

**URL:** <https://discuss.kakoune.com/t/jump-to-specific-line-number-in-a-buffer/250>\
**Category:** Help\
**Tags:** movement\
**Created:** [December 25, 2018, 9:52pm UTC](https://discuss.kakoune.com/t/jump-to-specific-line-number-in-a-buffer/250 "2018-12-25T21:52:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![typer](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@typer](https://discuss.kakoune.com/u/typer)\
**Post date:** [December 25, 2018, 9:52pm UTC](https://discuss.kakoune.com/t/jump-to-specific-line-number-in-a-buffer/250/1 "2018-12-25T21:52:12Z")

</div>

I use ctrl-d and ctrl-u and the j and k keys for a lot of my movement in buffers, but there are some times when I’d also like to go to a specific line number in a file as well. In vim, I usually jump to a line number by doing “:line-number”, but I’m not sure how one would do it in Kakoune.

---

<div class="post-metadata">

**Author:** ![alexherbo2](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/alexherbo2/32/1140_2.png) [@alexherbo2](https://discuss.kakoune.com/u/alexherbo2)\
**Post date:** [December 25, 2018, 10:06pm UTC](https://discuss.kakoune.com/t/jump-to-specific-line-number-in-a-buffer/250/2 "2018-12-25T22:06:07Z")

</div>

```auto
{line-number}g

```

---

<div class="post-metadata">

**Author:** ![typer](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@typer](https://discuss.kakoune.com/u/typer)\
**Post date:** [December 25, 2018, 10:11pm UTC](https://discuss.kakoune.com/t/jump-to-specific-line-number-in-a-buffer/250/3 "2018-12-25T22:11:29Z")

</div>

Awesome, thanks a lot!

---

<div class="post-metadata">

**Author:** ![Screwtapello](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/screwtapello/32/12_2.png) [@Screwtapello](https://discuss.kakoune.com/u/Screwtapello)\
**Post date:** [December 25, 2018, 10:16pm UTC](https://discuss.kakoune.com/t/jump-to-specific-line-number-in-a-buffer/250/4 "2018-12-25T22:16:07Z")

</div>

In Vim, you can go to line 123 by typing `:123<ret>` or `123g`.

In Kakoune, only the latter works.

---

<div class="post-metadata">

**Author:** ![typer](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/t/91b2a8/32.png) [@typer](https://discuss.kakoune.com/u/typer)\
**Post date:** [December 25, 2018, 11:20pm UTC](https://discuss.kakoune.com/t/jump-to-specific-line-number-in-a-buffer/250/5 "2018-12-25T23:20:00Z")

</div>

Gotcha, makes sense now. Thanks for the help!
