All Projects → gukz → ftFT.nvim

gukz / ftFT.nvim

Licence: MIT license
I love highlights! I love f{char}!

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to ftFT.nvim

Nvim Bufferline.lua
A snazzy bufferline for Neovim
Stars: ✭ 164 (+485.71%)
Mutual labels:  neovim-plugin
Lualine.nvim
A blazing fast and easy to configure neovim statusline written in pure lua.
Stars: ✭ 198 (+607.14%)
Mutual labels:  neovim-plugin
Vim Ghost
Vim/Nvim client for GhostText - Edit browser text areas in Vim/Neovim
Stars: ✭ 245 (+775%)
Mutual labels:  neovim-plugin
Animate.vim
A Vim Window Animation Library
Stars: ✭ 173 (+517.86%)
Mutual labels:  neovim-plugin
Vim Packager
Vim plugin manager that utilizes "jobs" and "pack" features.
Stars: ✭ 197 (+603.57%)
Mutual labels:  neovim-plugin
Nvim Go
Go development plugin for Neovim written in pure Go
Stars: ✭ 207 (+639.29%)
Mutual labels:  neovim-plugin
Targets.vim
Vim plugin that provides additional text objects
Stars: ✭ 2,114 (+7450%)
Mutual labels:  neovim-plugin
Tsuyo
🤖 A light-weight and easy-to-use modular Discord bot built with DiscordJS.
Stars: ✭ 136 (+385.71%)
Mutual labels:  highlights
Neovim Ruby
Ruby support for Neovim
Stars: ✭ 202 (+621.43%)
Mutual labels:  neovim-plugin
Vim Vsnip
Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
Stars: ✭ 224 (+700%)
Mutual labels:  neovim-plugin
Instant.nvim
collaborative editing in Neovim using built-in capabilities
Stars: ✭ 178 (+535.71%)
Mutual labels:  neovim-plugin
Visual Split.vim
Vim plugin to control splits with visual selections or text objects
Stars: ✭ 190 (+578.57%)
Mutual labels:  neovim-plugin
Lush.nvim
Define Neovim themes as a DSL in lua, with real-time feedback.
Stars: ✭ 204 (+628.57%)
Mutual labels:  neovim-plugin
Neotex
latex live preview - plugin for neovim and vim 8
Stars: ✭ 170 (+507.14%)
Mutual labels:  neovim-plugin
Coc.nvim
Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Stars: ✭ 18,268 (+65142.86%)
Mutual labels:  neovim-plugin
Vim Dadbod Completion
Database autocompletion powered by https://github.com/tpope/vim-dadbod
Stars: ✭ 163 (+482.14%)
Mutual labels:  neovim-plugin
Lsp Status.nvim
Utility functions for getting diagnostic status and progress messages from LSP servers, for use in the Neovim statusline
Stars: ✭ 201 (+617.86%)
Mutual labels:  neovim-plugin
qf helper.nvim
A collection of improvements for the quickfix buffer
Stars: ✭ 70 (+150%)
Mutual labels:  neovim-plugin
sphinx.nvim
Sphinx integrations for Neovim
Stars: ✭ 64 (+128.57%)
Mutual labels:  neovim-plugin
Indent Blankline.nvim
Indent guides for Neovim
Stars: ✭ 203 (+625%)
Mutual labels:  neovim-plugin

Introduction

Everything is just same with native f|t|F|T but with useful highlights!

Demo

After install, when you use f|t|F|T{char}, you will see something different, enjoy it!

image

Install

  1. Packer
    ...
    { "some other plugin name" },

    { "gukz/ftFT.nvim",
      -- This will turn on all functions, if you don't like some of them, add more config to disable/change them
      config = function() require("ftFT").setup() end
    },

    { "some other plugin name" },
    ...

... other plugin manager support are comming soon

Default behavior & Custom config

below is a overall config items, if you don't want to do any config, you can just use config in Install section

    { "gukz/ftFT.nvim",
      config = function()
        vim.g.ftFT_hl_group = "Search" -- will use Search hl group to do the highlitgt

        vim.g.ftFT_keymap_keys = {"f", "t", "F"} -- Will create key binding for "f", "t", "F", but not "T"
        vim.g.ftFT_keymap_skip_n = 1  -- if set this, will not create key binding for ftFT in normal mode
        vim.g.ftFT_keymap_skip_ydc = 1  -- if set this, will not create key binding for [ydc][ftFT] in normal mode
        vim.g.ftFT_keymap_skip_v = 1  -- if set this, will not create key binding for ftFT in visual mode

        -- ftFT will show another sight line below current line, shows you how many `;` you need to jump there, disabled by default
        vim.g.ftFT_sight_enable = 1  -- if set this, will show extra sight line
        vim.g.ftFT_sight_hl_group = "Search"  -- if set htis, will use other hl group for sight line

        require("ftFT").setup()  -- this will create default keymapping for you
      end
    },

you can also do the keybinding yourself

nnoremap f <cmd>lua require('ftFT').execute('f')<CR>
nnoremap t <cmd>lua require('ftFT').execute('t')<CR>
nnoremap F <cmd>lua require('ftFT').execute('F')<CR>
nnoremap T <cmd>lua require('ftFT').execute('T')<CR>

nnoremap df <cmd>lua require('ftFT').execute('df')<CR>
nnoremap yf <cmd>lua require('ftFT').execute('yf')<CR>
nnoremap cf <cmd>lua require('ftFT').execute('cf')<CR>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].