All Projects → lfv89 → Vim Foldfocus

lfv89 / Vim Foldfocus

✂️ A vim plugin for isolating a particular piece of text into its own separated context.

Projects that are alternatives of or similar to Vim Foldfocus

Vim Diff Toggle
🛠 Vim plugin to speed up editing diff files
Stars: ✭ 17 (-43.33%)
Mutual labels:  vim-plugin
Vim Clang Format
Vim plugin for clang-format, a formatter for C, C++, Obj-C, Java, JavaScript, TypeScript and ProtoBuf.
Stars: ✭ 837 (+2690%)
Mutual labels:  vim-plugin
Idb
idb is a tool to simplify some common tasks for iOS pentesting and research
Stars: ✭ 867 (+2790%)
Mutual labels:  project
Git Messenger.vim
Vim and Neovim plugin to reveal the commit messages under the cursor
Stars: ✭ 904 (+2913.33%)
Mutual labels:  vim-plugin
C cpp project framework
CMake build system( framework) with kconfig support for C/CPP projects
Stars: ✭ 26 (-13.33%)
Mutual labels:  project
Briofita vim
colorful Vim colorscheme for both GUI and 256-color terminals
Stars: ✭ 9 (-70%)
Mutual labels:  vim-plugin
Cardinalpgm Maps
Make OCN Great Again!
Stars: ✭ 6 (-80%)
Mutual labels:  project
Quick Scope
Lightning fast left-right movement in Vim
Stars: ✭ 876 (+2820%)
Mutual labels:  vim-plugin
Vim Healthcheck
Polyfill of Neovim's health-check for Vim
Stars: ✭ 26 (-13.33%)
Mutual labels:  vim-plugin
Generate Gh Repo
Generate generator to create a new repository on GitHub.
Stars: ✭ 11 (-63.33%)
Mutual labels:  project
Tmux Navigate
🥂 Seamless tmux/vim navigation (over SSH too!)
Stars: ✭ 23 (-23.33%)
Mutual labels:  vim-plugin
Community
General discussion, cross-repo efforts and common information for projects in the community.
Stars: ✭ 24 (-20%)
Mutual labels:  project
Vim Bootstrap Updater
vim-bootstrap plugin to upgrade
Stars: ✭ 9 (-70%)
Mutual labels:  vim-plugin
Crease.vim
Easy foldtext customization for [neo]vim.
Stars: ✭ 19 (-36.67%)
Mutual labels:  vim-plugin
Gantt Elastic
Gantt Chart [ javascript gantt chart, gantt component, vue gantt, vue gantt chart, responsive gantt, project manager , vue projects ]
Stars: ✭ 869 (+2796.67%)
Mutual labels:  project
Vim Quickrepl
The Simplest Faster way to open your REPL for filetypes.
Stars: ✭ 17 (-43.33%)
Mutual labels:  vim-plugin
Project Name
Get the name of a project from package.json, git config, or basename of the current working directory.
Stars: ✭ 8 (-73.33%)
Mutual labels:  project
Swiftproject
🏆 Generate Swift project with necessary toolings
Stars: ✭ 27 (-10%)
Mutual labels:  project
Java Game And Application
Java Games and Application with awesome source code and better algorithm
Stars: ✭ 14 (-53.33%)
Mutual labels:  project
Vim Gofmt
Formats Go source code asynchronously with multiple Go formatters.
Stars: ✭ 11 (-63.33%)
Mutual labels:  vim-plugin

vim-foldfocus

What is it?

A plugin that extracts the text from the current fold level and outputs it into a new temporary buffer.

The ideia behind this plugin is to separate a specific piece of code in to its own context (buffer). This is useful when you are trying to understand a particular messy piece of code, and you want to be able to search words using /, *, # without leaving the context of the code that you are exploring.

Also, if you do change anything in the temp buffer, those changes will automatically be syncronized with the original buffer.

Installation

Using vundle, add this to your .vimrc:

Bundle 'lfv89/vim-foldfocus'

Than run:

:BundleInstall

Usage

All you have to do is to map the function to a key of your choice.

If you want to focus in place, use:

nmap <CR> :call FoldFocus('e')<CR>

In this case, you can hit q to leave the temporary buffer and get back to the original one.

If you want to focus in a side buffer, use:

nmap <Leader><CR> :call FoldFocus('vnew')<CR>

Of course, you are free to change the mapping to use whatever keys you want.

Me

luisvasconcellos.com

Feel free to talk to me about anything related to this project.

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].