Comments (5)
You could just create a new command, that calls both NERDTreeToggle
and TilerReorder
from tiler.vim.
I also noticed that if I create a new window with nerdtree open, the order of windows gets mixed up and nerdtree gets pushed to the main panels and my previous window gets put in the nerdtree position. Really frustrating :(
@zhamlin Think this is a config issue? The new window was opened with:
nnoremap <C-\> :term<CR><C-w>N:call tiler#reorder()<cr>i
" Tiler
tmap <C-q> <C-w>N
nnoremap + <C-w>3+
nnoremap _ <C-w>3-
nnoremap <C-\> :term<CR><C-w>N:call tiler#reorder()<cr>i
map <C-@> <plug>TilerNew
let g:tiler#master#size = 20
let g:tiler#master#count = 1
let g:tiler#layout = 'bottom'
let g:tiler#popup#windows = {
\ 'fzf': { 'position': 'bottom', 'size': 10, 'filetype': 'fzf', 'order': 3 },
\ 'nerdtree': { 'position': 'left', 'size': 10, 'filetype': 'nerdtree', 'order': 2 },
\ 'tagbar': { 'position': 'right', 'size': 10, 'filetype': 'tagbar', 'order': 1 },
\ }
from tiler.vim.
What order are you creating the windows in so I can try to reproduce? I started with a terminal window, opened up nerd tree, and it went to the correct location.
Your config looks fine to me. Does calling tiler#reorder()
after NerdTree is in the wrong spot do anything?
from tiler.vim.
After some investigation it appears to not be configuration based, I think you just aren't accounting for terminal buffers or something of that nature.
Open vim, run :NERDTreeToggle
, then move focus back to your main buffer. Then run :term
, and you should get a terminal in a new window, horizontally split. Then hit <C-w>N
to exit terminal mode, then :call tiler#reorder()
, to reorder the windows. Then you end up in the weird state I mentioned.
Let me know if you can't reproduce or need more info!
from tiler.vim.
I can reproduce it, but at the moment don't have anytime to look into it.
If you decide to try and fix it and need any help feel free to ask.
from tiler.vim.
Related Issues (5)
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 tiler.vim.