How would I go about increasing the space available for window names in the tmux status bar?
By default it seems to be a single line. I'm hoping there's an option to make the status bar take up several lines, or something to that effect.
Related
When executing a script line by line in RStudio, the next chunks of code will appear automatically (the auto scrolling gets activated) when you're executing the fourth last visible line. This behavior is fine when having four panes, because it keeps the executed line on the middle of the screen.
I chose to reduce the left down pane to make room for the script. Now I would like to change the auto scrolling behavior, so that the next lines wont show at the bottom of the script (line 27 in picture) but on the middle of the screen(around line 14).
Is this possible?
Under options/global options/code/display, there is an option Allow scroll past end of document and highlight selected line
I am not sure whether this will help you, but to my understanding, Rstudio could not auto-scroll the page and make the line executed displayed at the center.
When we connect to the tmux session, it shows information at bottom right something like this : (size 80*24 from a smaller client) and fills area with dots and boundary with green color. How we can disable it ? Don't want to show any such information.
I recently started using Atom and try to make it as nice to work with as possible.
However I couldn't figure out how to change the height of the bottom window (a name for it would already help).
My goal is to have my console etc. as minimalistic as possible.
E.g.:
Atom's bottom window shown here with an output example from Atom-Runner
How do I only show the atom-runner's output and not the grey rest of the window on top of it?
How can I get rid of unnecessary labels like "Atom Runner: data.py"?
I found that you can change quite a bit within the styles.less file with commands like:
atom-workspace {
height: calc(...);
}
But that didn't really help me.
However I couldn't figure out how to change the height of the bottom window (a name for it would already help).
atom-runner displays its results in a bottom panel. There are a few different types of containers in the Atom window:
Panes are the content in the middle of the editor. Panes can hold as many items as you want, which are usually associated with a specific file (see TextEditors)
Docks are the expandable areas just outside the panes (the tree-view and github packages use docks). They can have multiple items and will create tabs for them.
Panels are the spaces on the edge of the Atom window. You can't hide them without disabling the whole package.
How do I only show the atom-runner's output and not the grey rest of the window on top of it?
The "grey rest of the window" is the bottom dock. You can hide it by clicking on the semicircle with the down arrow.
How can I get rid of unnecessary labels like "Atom Runner: data.py"?
I disagree that it's unnecessary, and you might some day find that you need to know what file you ran. However, if you want to do this, you can add the following to your styles.less:
.atom-runner h1 {
display: none;
}
I'm trying out both DockFX (https://github.com/RobertBColton/DockFX) and AnchorFX (https://github.com/alexbodogit) (using Clojure as the host language, in Win7 x64)
The nice thing about DockFX is that you can drag from the tabs, and set the title bar to NULL to make the pane non-draggable, but the DockingPane still allows siblings next to (which is ok), or on top of (which is not okay) the non-draggable DockNode, leaving a skinny little section of tab representing the non-draggable node when another pane is dragged on top, as shown here. This is what it looks like when a non-draggable TableView gets a TreeView dragged on top.
Question for DockFX:
How to prevent things from being dragged on top of a non-draggable DockNode, so I don't see a skinny vestigial tab?
For AnchorFX, I like how you can create substations, etc., and it feels a little snappier (actually about 1/10th the time to create a Station compared to DockFX). I modified the code so a null title removes the title bar and makes the node non-draggable.
Questions for AnchorFX:
How to prevent things from being dropped on top? (next to is okay).
How to eliminate title bar when a node is tabbed on top of other nodes?
How to drag from tab instead of title bar?
I modified the DockFX code so the popup does not appear if the DockTitleBar is null.
Inherently fixed by above.
Already works with DockFX, haven't tried fixing this with AnchorFX.
I wanted to modify the function created by Andreas Politz (discussion here: https://groups.google.com/d/msg/vim_use/6bO-QKWj9_4/2cdqygSqcMgJ) to work with vsplits too. This function creates a horizontal scrollbar to indicate the current position in the file (I actually don't like MacVim default scrollbars). The size of the scrollbar depends on the width of the whole window and does not adapt to vsplit. As I use NERDTree plugin, every vsplit has a oversized scrollbar.
I've done some searches on StackOverflow and VIM wiki but I only found commands to resize the vsplit and none to get the actual size.
Do you have any clue on how to get the current vsplit width?
PS: My results so far:
:set columns returns actual window size
:set winwidth returns the minimum width of window
:set window gives me a number that doesn't change when I switch between splits (77 each time)
:echo winwidth(0)
returns the width of window 0.
See :help functions for a comprehensive list of functions available in Vim. The documentation is the first place you should visit if you are looking for anything Vim-related.