General :: What's The Command To Reload .vimrc Without Restarting Vim
Mar 26, 2010What's the command to reload .vimrc without restarting vim?
View 2 RepliesWhat's the command to reload .vimrc without restarting vim?
View 2 Repliesi know it's a very simple command to restart apache via ssh.
View 13 Replies View Related1 - I've put php.vim in ~/vim/syntax directory, and now I would like to set ~/.vimrc to use php.vim when I open a php file. How do I do it? 2 - Where can I learn more on how to write vimrc?
View 1 Replies View RelatedAs you can easily see:
Code:
What is my mistake?
We have ubuntu server and bind9 installed and setup.When I issue rndc reload or /etc/init.d/bind9 reload I got this:rndc: connection to remote host closedThis may indicate that* the remote server is using an older version of the command protocol,* this host is not authorized to connect,* the clocks are not syncronized, or* the key is invalid.If I issue named-checkconf /etc/bind/named.conf I got this:/etc/bind/named.conf.local:165: unknown key 'rndc-key'I got the key files in the right location but I'm not sure if we even need to use them.
View 2 Replies View Related"syntax on" in vimrc is not working with my RHEL5 and i m really suffering by looking at dull code..!!!
View 1 Replies View RelatedI was trying to install vim today and could not find .vim directory where I could install them and only the .vimrc file was there So what I did was Try making a .vim directory copy the .vimrc file in it and and removing the old ~/.vimrc file. I exported the ~/.vim/ to $VIMHOME
View 5 Replies View RelatedI am using GEDIT and I would like to have a shortcut key that allows me to tell GEDIT (on Ubuntu) to force reloading from file system the currently opened file.
How can I do that?
I have just install conky to my Linux Mint 9 system.I like to know if I can set up conky to auto reload a webpage.FYI, the webpage do not have rss feed therefore I cannot set conky to use rss.
View 10 Replies View RelatedI just setup the vim,and when i modify the vimrc file ,I obviously made some mistakes ,the error looks like this and this is where the problem is and why my user name is so long ,is there anyway i can make it shorter or use others
View 8 Replies View RelatedI've added the following to my .vimrc:
Code:
function CommentLines()
:'<,'>s/^///
[code]....
When X.org boots up, Synaptics touchpad works well. But when I remove the module it falls back to /dev/input/mice and don't use normal driver even when touchpad is available again.
Xorg.0.log:
...
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD)
(--) Synaptics Touchpad: touchpad found
# { rmmod psmouse && echo mem > /sys/power/state && modprobe psmouse; }
(WW) : No Device specified, looking for one...
(II) : Setting Device option to "/dev/input/mice"
...
How to tell X.org to try it's InputDevice again (without restarting X server)? rmmod psmouse is needed to prevent crashing of Acer Extensa 5220 when resuming from suspend-to-ram. Found answer myself: Doing xinput set-int-prop "Synaptics Touchpad" "Device Enabled" 8 1 after reloading the kernel module reloads touchpad. Now suspend-to-ram works OK.
I have a machine with several IP addresses with eth devices like eth0, eth0:1, eth0:2, eth0:3. Can I restart only eth0 without bringing down eth0:1? It would be really convenient to be able to log in via SSH on eth0:1 and restart eth0 without locking myself out or not being able to bring the network back up.
If I stop eth0, will that automatically stop all the others?
i have a problem with my server, it was rebooted to get a special upgrade and it never turned on again. the support told me it's giving grub error 15, file not found. my server is a debian lenny 5 32bit one in raid 1. my menu.lst is:
[URL]
and fdisk -l gives:
Quote:
root@grml:/# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
[code]...
Disk /dev/md0 doesn't contain a valid partition table
I have just compiled apache with the following command code...
View 4 Replies View RelatedI am attaching a LTO-3 tape drivce into my RHEL5 linux machine. Every time i used to restart my machine to detect the tape drive is there any way to rescan the buses to detect the newly attached scsi devices. In solaris "devfsadm" and "iostat" is there. I need the same kind of thing in linux.
View 2 Replies View RelatedI have Kubuntu 10.10. and it doesn't apply changes I did from terminal or any customization except after rebooting.
View 1 Replies View RelatedI am running LMDE with xfce desktop version 4.8.0 and Windows 7 on a sony vaio. Everything works fine except for one minor inconvenience... When I am using xfce and want to reboot to windows, I have to click shutdown,turn the computer off then back on to get to the grub menu. If I click restart, it reboots back into xfce without ever showing the grub menu.
View 1 Replies View RelatedCode:
#!/bin/bash
ulimit -c unlimited
while true; do ./executeable; done
When i will write this in console it will run executeable file and it will generate report : core.pid after crash so i can gdb the report. The application after crash will restart how can i prevent restarting the application after it's crash?
I need to increase the default stack size on Linux. As I know there are usually two ways:
ulimit -s size
/etc/security/limits.conf
The ulimit method only works as long as I am logged in.
limits.conf will work after a restart.
Is there a possible way to increase the limit without restarting?
I have Win XP SP2 installed on my machine. I wanted to try Ubuntu and i created a CD an and wanted to install the OS. The CD booted and i selected the option of "using The OS together and selecting which one to boot" or something similar to that. Ubuntu and changed MBR and installed itself. However on restarting I am getting Error 18. Now i am unable to use my computer at all.
In recover my XP at the moment and how to install Linux so that it does not mess around with any other OS?
I have GShutdown 0.2 on ubuntu .when i put it on with some time it is just restarting the session and going directly to login window. "sudo shutdown -P -- --" is working properly so why the GShutdown 0.2 is not??
View 1 Replies View RelatedI've installed a JBoss-JON-Agent on a Linux-machine. Normally to start the JON-Agent I have to go to /opt/jboss/VGER1/Agent/bin/ and run ./ rhq-agent-wrapper.sh startBut sometimes the Linux-machine will be restarted and I have to start the JON-Agent manually.Now what I want is: when the Linux-machine is restarting, the JON-Agent will be restarted.
View 4 Replies View RelatedPossibly related to this previous question, I would like to be able to run a task for a specified amount of time, then stop/kill it, then start it again. Specifically, I run the Folding@Home application on my Linux workstation. Periodically, it will have trouble logging-in to the home server, and will sit idle for a long time, but not release memory/resources it has claimed (yes, I realize this is likely a bug in the tool, but I can't fix that currently). Typically just the act of killing and starting the tool will allow it to check-in again. So, I would like to be able to run something like:
run_for <time> ./fah6
Does such a tool exist, or should I write a wrapper than nukes the fah6 client after, say, a week and restart it?
I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?
View 6 Replies View Relatedthe only issue that i have: the wireless is always disabled.
when i install new updates, the wireless comes back enabled and everything is fine but when i restart ubuntu its disabled again !!
i have a DELL studio 1537 laptop (broadcomm wifi card)with a win7 service pack 1/linux ubuntu 10.04 LTS dual boot.
eog notices when a PNG file changes, and offers to reload it.But it does not reload until I move the mouse over to the monitor where I stuck eog, and click ReloadHow can I make eog just reload automatically without asking -- the way evince does, for PDFs?
View 1 Replies View RelatedI've just installed 10.04 in dual boot with xp, completed all updates and tried to suspend. My swap partition is the right size and I don't recall doing anything wrong yet when I wake up the computer after suspending it, the monitor doesn't reactivate and I've had to force it to shut down. And also, now it tells me "networking disabled".
View 2 Replies View RelatedI make partition on fedora-12, after that it gives me warning
kernel was unable to re-read the partition table on /dev/sda (Device or resource busy). This means Linux won't know anything about the modifications you made until you reboot.
Is it possible to reload partition without reboot, i tried partprobe as well but no luck.
When I try to reload httpd service through commandline interface directly, it works. But when I tried to reload service of named and httpd using php exec(), it doesn't works.service named reloadservice httpd reloadThe service named is OK but httpd got problem.My OS is CentOS 5.4 .
My script:
echo exec("service named reload"); result is " Reloading named: [OK] "
but
[code]....