Coder Social home page Coder Social logo

backout.nvim's Introduction

backout.nvim

📖 Overview

backout.nvim is a minimal neovim plugin designed to move inline while remaining in insert mode. This plugin is inspired by functionality from auto-pairs that I couldn't find in other auto-pair plugins.

Example

Example

🚀 Installation

return {
	"AgusDOLARD/backout.nvim",
	opts = {},
	keys = {
        -- Define your keybinds
		{ "<M-b>", "<cmd>lua require('backout').back()<cr>", mode = { "i" } },
		{ "<M-n>", "<cmd>lua require('backout').out()<cr>", mode = { "i" } },
	},
}

⚙️ Options

chars

A string containing characters or sequences to jump between

    chars = "(){}[]`'\"<>" -- default chars

🤝 Contributions

Contributions are welcome! Feel free to open issues, submit pull requests, or provide feedback to help improve backout.nvim.

backout.nvim's People

Contributors

agusdolard avatar

Stargazers

Johnson Hu avatar robin avatar Robert Randhawa avatar KANATSU Minoru avatar Dominik avatar Kyuhwan Hwang avatar Maxine Reyes Gomez avatar DeadlySquad13 avatar Omi avatar Jocelyn Boullier avatar Pierrot avatar  avatar Dennis Jusufovic avatar Iain Simmons avatar Stéphane P avatar Orhan Gurbanov avatar Tak avatar Srinesh Nisala avatar  avatar Payton avatar Xie Zejian avatar Flo Wolfe avatar Joseph Tams avatar Alexsander Falcucci avatar  avatar Quentin Gillet avatar  avatar Seth Messer avatar Cenk Kılıç avatar Calvin Choy avatar Aryabhatta Dey avatar Felix Rath avatar  avatar Michael NT avatar Yuta Katayama avatar  avatar Emille Henry avatar

Watchers

 avatar  avatar

backout.nvim's Issues

Cursor doesn't move to prev bracket on back() function

Here in the video you can see, the cursor stops at line 10 and doesn't go to the open curly bracket at line 8.

backout_issue.mp4

Config:

return {
	'AgusDOLARD/backout.nvim',
	opts = {},
	keys = {
		{ '<M-m>', "<cmd>lua require('backout').back()<cr>", mode = { 'i' } },
		{ '<M-i>', "<cmd>lua require('backout').out()<cr>", mode = { 'i' } },
	},
}

File content:

if vim.g.neovide then
	require('user.neovide')
end

return {
	colorscheme = 'rose-pine-moon',
	lazy = {
		change_detection = {
			notify = false,
		},
		concurrency = 5,
	},
	lsp = {
		servers = {
			'lua_ls',
			'rust_analyzer',
			'jdtls',
		},

		formatting = {
			format_on_save = true,
		},
	},
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.