Skip to content

nvim plugin to see f and t motion jumps one key stroke before!

Notifications You must be signed in to change notification settings

Suryansh-Dey/to-future.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Hit f or t motion, chars get highlighted on the basis of number ; it will take to reach there.
No need to check after every stroke if you reached or not. You know the number of ; needed, or not needed at all, at very f or t press!

to-future-demo.mp4

setup in lazy

return {
    "suryansh-dey/to-future.nvim",
    event = "VeryLazy",
    opts = {}
}

Defaults

vim.api.nvim_set_hl(0, "to-future-hi-1", { bg = "#ffff00", fg = "#000000", bold = true })
vim.api.nvim_set_hl(0, "to-future-hi-2", { bg = "#ff8800", fg = "#000000", bold = true })
vim.api.nvim_set_hl(0, "to-future-hi-3", { bg = "#ff0000", fg = "#000000", bold = true })
opts = {}
return {
    "suryansh-dey/to-future.nvim",
    event = "VeryLazy",
    opts = { all_hl = { "to-future-hi-1", "to-future-hi-2", "to-future-hi-3", "Comment" } },
}

About

nvim plugin to see f and t motion jumps one key stroke before!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages