Comments (1)
I'm on Linux with nvim v0.9.0 and tried it in my own config.
What is supposed to be happening is while in terminal, you exit to normal mode <C-\\><C-N>
. Then, switch a window in hjkl direction <C-w>l
which doesn't seem to do anything.
In my config I was able to add a sleep in between both actions to fix this issue in a similar scenario. Haven't had luck doing that here (I haven't tried with [[ ]] maybe that would fix this; written differently since [[ ]] strings work differently.)
Notes for example below:
- Replace ":SymbolsOutline" with a plugin of your choice or a vim function, like
:Vex
(Vertical explorer). In this case, the window switches back to the previous window. - Must have at least v0.8.0 for vim.keymap to exist and work.
Window change doesn't work:
vim.keymap.set("n", "<leader>zo", [[:SymbolsOutline<CR><C-w><C-w><CR>]])
Window change works:
vim.keymap.set("n", "<leader>zo", [[:SymbolsOutline<CR>:sl! 100m<CR><C-w><C-w><CR>]])
from neovim-from-scratch.
Related Issues (20)
- 'attempt to index a Boolean value' HOT 1
- Error while moving lines HOT 3
- sumneko_lua is deprecated, use lua_ls instead. See :h deprecated HOT 6
- facing Spawning language server with cmd: `lua-language-server` failed. The language server is either not installed, missing fr om PATH, or not executable.
- Client 2 quit with exit code 127 and signal 0
- "[[" Brings to the top of the file instead of opening "["
- Missing glyphs even after using Nerd Fonts HOT 1
- using fedora 38 and got lot of error HOT 9
- How to get rid of this stack trace (deprecated api errors) HOT 2
- E5248 because of typo in bufferline.lua HOT 1
- [lspconfig] Cannot access configuration for lua_ls. Ensure this server is listed in `server_co nfigurations.md` or added as a custom server. HOT 4
- Internal error has occured. HOT 2
- Is check_backspace() necessary?
- pressing TAB on an old empty line sometimes jumps to a random line. HOT 6
- init.lua not working when PlugInstall ERROR
- How can I purge all packages installed
- Language servers installed using Mason don't work unless specifically mentioned in user.lua.lsp.mason `servers` variable
- On master branch, is treesitter even enabled?
- Error while calling lua chunk HOT 8
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 neovim-from-scratch.