General :: How To Always Start Gvim Maximized
Sep 13, 2011set lines=999 columns=999
doesn't work, and
au GUIEnter * simalt ~x
only works for Windows.
set lines=999 columns=999
doesn't work, and
au GUIEnter * simalt ~x
only works for Windows.
How do I make Terminal start maximized?gnome-terminal --maximizedoesn't work.gnome-terminal --full-screen makes it fullscreen and I don't need that.
View 7 Replies View RelatedI was using the following code in my .emacs file to start emacs maximized:
Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
[Code]...
Recently, I've installed vim like so:
hg clone https://vim.googlecode.com/hg/ vim
cd vim
sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim
make
make install
make install clean
So, my VIM's binaries now live under /opt/vim/bin. Here is ls -la of this dir:
[Code]...
I use a terminal with white text on black background (I just like it better), so I wrote the following line in my .vimrc file: set background=dark
However, gvim has black on white text. How do I do either of the following: Set the background of gvim to black Check in .vimrc if I'm using gvim I tried this: I started up gvim, and typed echo &term. The answer was "builtin_gui". So I wrote the following into .vimrc:
if &term == "builtin_gui"
set background=light
else
set background=dark
endif
Somehow, it didn't work.
I'm using SSH (with -X specified) from a Ubuntu box to a RHEL4 box and running GVim. It opens as expected in my local X, but the copy and paste via select doesn't work. I cannot select text in GVim and paste in a local window, nor can I select text from a local window and paste in GVim. This works, however, when I SSH (with -X specified) to a different RHEL4 box. Is there something I need to install on the remote machine? I am running Parcellite 0.9.2 on the local box, but closing it doesn't make the problem go away, and it is not interfering with the other box.
View 1 Replies View RelatedI loved Gnome's Nautilus and FTP integration and being able to mount a remote FTP directory as a regular bookmark/directory, and double clicking any remote files to open in any unmodified program. I also loved editing text files with GVim.
However, if I double clicked file on Nautilus to open a text file in Gvim, then saving a file will take about 10 seconds and GVim will hang for that amount of time. The major irritant is that I cannot continue editing while the text editor is waiting for the write to finish, this delay interrupted my workflow and thought process and saving becomes a painful process. The other problem is that I don't think simply uploading a file should take that much time.
I'm aware of GVim's internal FTP support, but they are not as well integrated with Nautilus's FTP and it suffers from the same problem.
So a few question:
Is there a way to make GVim or GVFS to save in background while I continue editing?
Why is GVFS so slow? Is there any way to set GVFS to use a single persistent FTP connection instead of creating a new FTP connection each time?
I'm on Gentoo Linux x86-64.
If i have a comma separated string like this one
Code:
aa,bb,cc,dd,ee
11,22,dd,3f,22
[code]....
I want to generate HTML files in batch to show some gvim colorschemes in action. I took my current solution from the script at but this will open open a gvim window for each colorscheme I want to process. So far, the only way I have found to avoid the annoying new windows that pop up every second is to start a VNCserver and set the DISPLAY environment variable to that of the VNCserver so that all gvim windows are sent to the display within the VNC session.However, I would like to know if there is a way I can avoid the whole VNC setup and just run a headless gvim instance that does the conversion and exits, with no windows ever being actually displayed.
View 1 Replies View RelatedEvery time i open Emacs window,it opens with a width=(monitor-width)/2;height=(3/4)*(monitor-height)I click the maximized icon every time.How can i set the maximized emacs window as default?
View 4 Replies View RelatedI use kubuntu (8.04) which does not have a root account.
[sudo] password for ts:
However, starting xclock or gvim on root shell on konsole has the "Can't open display" error appears.
Error: Can't open display: localhost:0.0
Press ENTER or type command to continue
For gvim :hi Include guifg=#8040f0 Is it possible to get #8040f0 in vim?
View 1 Replies View RelatedAfter upgrading Squeeze, Gvim and Vim seems to be broken. So I went back to 7.2 by compiling from source. However I am failing to compile the gui version under Debian. I tried the configure options, apt-get build-dep vim etc but nothing seems to work. Does anyone know a straight way to make it work? Or even a way to find the previous version of vim gtk?
View 1 Replies View RelatedI get this error when I start gvim:
Code:
I'm new to vim and gvim, but I feel its power so I want to learn it. I've been searching very long how to use gvim keyboard shortcuts but I simply cannot find out what is for example the vertical splitting command '^Wv'? I've tried (ctrl/super+ a lot of things) (and other combinations, but without success).
View 2 Replies View RelatedIn ubuntu 9.10 i installed gvim editor..... if i opened that it shows like following and opened editor and also compiled.... wats this? Anything need to install?
View 2 Replies View RelatedI use ":!shell_command<enter>" OR ":sh<enter>" in gvim to execute shell commands or to get a shell. But I am getting an 'sh' shell. Is there a way to get the 'bash' or 'csh' shell from within gvim?
View 1 Replies View RelatedI have to share gvim binary over the NFS for users on a x64 machine. I can't find it over the internet. Is there anyway I can convert the vim-X11.rpm to .bin? or achieve the same in any other possible way.
View 1 Replies View RelatedI have a minor problem with gvim. My gvim never maximizes. Whenever I try to maxmize it automatically shrinks from right side and bottom. Don't know if anyone else faces this problem, but I have faced this even after re-installing the system It is not a show stopper but surely an irritant.
I am using openSUSE 11.2, KDE 4.3.5.
Is it possible to open text files in gvim in tabs not opening anothe rgvim window for every text file? Just like it is done in gedit: open a file the open another file and it opens in a tab.
View 2 Replies View Relatedmy idea is to have gvim working like gedit in ubuntu 11.04: when you open a file thru unity's dash, and if there's already an open editor, it opens the file in a new tab.To make nautilus open more than one selected files in gvim's tabs, i used to change the exec line in /usr/share/applications/gvim.desktop to "Exec=gvim -p --remote-tab-silent %F". This trick is working ok in nautilus and also in unity, just like the way I was planning.
However, when i try to open gvim itself without specifying any files (from unity's dash or a launcher set) it fails. Can anyone please help me with this ?
I'm working on RHEL5 dealing with AS (ActionScript) files in Linux GVIM Editor but everything is in blue color. Can i set color coding for my keywords?
View 3 Replies View RelatedRunning Slackware current and KDE4. Every time I start up, gvim autostarts as soon as the KDE desktop shows. There is no command in .kde/Autostart for this. I have ticked always start with an empty session in the session manager. I cannot see why gvim is starting every time. How can I stop this?
View 5 Replies View Relatedin my vimrc I am sourcing the following: source $VIMRUNTIME/mswin.vim At first this file was missing, so I downloaded it from: http://ftp.twaren.net/vim/runtime/mswin.vim However when I try and open gvim I get: My first thoughts of the cause are: - version of mswin.vim incorrect? - version of vim incorrect?
Quote:
[09:12:05][root@host:/home]# gvim deploy.sh
Error detected while processing /usr/share/vim/mswin.vim:
line 46:
E121: Undefined variable: paste
E15: Invalid expression: paste#paste_cmd['i']
[Code]...
I'm having a strange problem with gvim. I've installed Slackware on 4 computers now, and this latest one is the first I've seen this issue on. I use the command line for almost everything, and only use gvim in Firefox with Vimperator. So it isn't something I use all the time, but when I need it I really need it. Using textboxes (like, you know, on LQ) is starting to drive me up the wall Anyway, when I load gvim (through Vimperatorr other means) the text is unreadable. It does seem to become readable after it gets covered by another window, but as I type, the new text is unreadable again. Attached is a screenshot, of this post. And, actually, I'm seeing similar behaviour in Gimp.Attached is a second screenshot. The weird lines seem to appear and disappear when the mouse rolls over the area. I don't use very many GUI programs, just Firefox for the most part (which isn't displaying this behaviour). So, this could be a general X issue, or perhaps a WM issue.
View 1 Replies View RelatedI've finally gotten around to installing Fedora 15 and I've been having some trouble with VLC. When it is maximized the title bar at the top disappears. The VLC window is also covering up the panel at the top of the screen. This makes it so that I have no way to minimize it or even restore it to a window once it is open. I also can't switch to other windows. So right now if I have vlc open the rest of my computer is completely unusable.
View 4 Replies View RelatedIn windows when I install gvim/vim, it automatically installs a context menu in explorer that lets me edit a file in gvim by simply right clicking and pressing v. For someone who edits a lot of files and is really used to vim, it is super-convenient. I want to do the same thing in nautilus. So I installed nautilus-actions and added to the context menu of editing with gvim. That wasn't hard. The hard part is getting that keyboard key to bind to that context menu item. Currently when I right click and press v, it sends the item to trash. I want it such that when I right click a file and press v, it edits the file in gvim. How can I do that? I want a good solution, and am willing to switch file managers/window managers if need be. This particular shortcut key is very important to my user experience.
View 1 Replies View RelatedHowever, "E233: cannot open display" error appears when starting gvim on ubuntu 8.04root shell.
E233: cannot open display Press ENTER or type command to continue # kdesudo gvim /etc/fstab kdesudo: cannot connect to X server.
When I use a little helper window (like the find and replace dialog) in OOo 3.2 on 10.04 UNR it always comes up maximized, which is kind of irritating, because I have to restore it before it's usable. It's weird that such a window should even have a maximize button, but there you go. No biggie, clearly, but if anyone knew of a workaround that would be great! I'm using the clearlooks theme, although I tried with the new black shiny one and it seems to exhibit the same problem.
View 5 Replies View RelatedI was just curious if there was an easy way to check if a window is maximized in terminal (preferably with wmctrl and not by checking the x,y dimensions of said window)?
View 1 Replies View Related