Comments (2)
That is good enough! thank you.
from smart-splits.nvim.
Unfortunately there isn't a way the plugin can work around this directly. You can use this:
local function jkmaps()
-- Navigate display lines
vim.keymap.set({ "n", "x" }, "j", function()
return vim.v.count > 0 and "j" or "gj"
end, { noremap = true, expr = true })
vim.keymap.set({ "n", "x" }, "k", function()
return vim.v.count > 0 and "k" or "gk"
end, { noremap = true, expr = true })
end
require('smart-splits').setup({
resize_mode = {
hooks = {
on_leave = jkmaps,
},
},
})
from smart-splits.nvim.
Related Issues (20)
- [Bug]: Cannot get tmux pane ID HOT 2
- [Bug]: floating neovim windows should not be resized HOT 7
- [Bug]: Wezterm navigation not working HOT 12
- [Feature]: Something like an accordion mode for smart resizing of splits HOT 2
- [Bug]: Neovide (or other UI?) run from WezTerm leads to error in integration logic HOT 9
- Performance issues with Wezterm integration HOT 18
- [Feature]: Add commands for buffer swap HOT 1
- [Bug]: After splitting the window in kitty, open nvim on both sides and use require('smart-splits').move_cursor_right which is invalid. HOT 13
- [Feature]: Improve mux auto-detection and make lookup more flexible
- Use wezterm.plugin.require() for easy install on wezterm HOT 4
- [Feature]: kitty pass_keys.py remove the use of regulars and instead use the kitty api HOT 1
- [Feature]: Does it support warp terminal? HOT 2
- [Bug]: Wezterm Unable to move jumps properly HOT 6
- [Bug]: Is impossible to set `Previous` using <C-\> HOT 10
- [Bug]: System exit > 0 after upgrade to v1.3.1 (v1.3.0 works fine) HOT 11
- [Bug]: Switching between neovim and wezterm panes when using wezterm ssh client does not work HOT 7
- [Bug]: wrapping occurs despite setting `at_edge` to a value other than `wrap`
- [Bug]: Invalid window id after closing window and navigating to previous window HOT 1
- [Meta]: Add CONTRIBUTING.md
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart-splits.nvim.