General :: Create Custom Keyboard Shortcuts In Vim?
Sep 18, 2010
For example - when coding in Perl, I need to sometimes comment out a bunch of lines.What I do is something like
:80,96 s/^(.*)$/#1/
I want to create a custom shortcut for this so that I can do something like
:80,96 cm
for commenting and
:80,96 uc
for uncommenting.What should I put in my ~/.vimrc?
View 1 Replies
ADVERTISEMENT
Sep 13, 2009
Does anyone know how to make custom keyboard shortcuts? The commands don't seem to cross over to the system>preferences>keyboard shortcuts utility. For example, I added the file browser to my desktop. I right click, select properties, and the command is:
However, when I add a custom shortcut with that same command it doesn't work.
View 5 Replies
View Related
May 13, 2010
I use Lucid Lynx (Ubuntu 10.04). It has the social media button on the top panel. I want to create a keyboard shortcut for this. How do I do it?
View 4 Replies
View Related
Nov 29, 2009
Is it possible to configure the shell [in xterm, tty, whatever] to recognize custom shortcuts? That is, can I bind any program to Ctrl+X, Alt+X, etc. shortcuts? I know how to do this with Gnome/KDE/Fluxbox, but I'm interested in doing it on a shell.
View 6 Replies
View Related
Aug 15, 2010
I'm running Ubuntu Server 10.04 without a gui. I'd like to add a new keyboard shortcut to the system, but I've searched the forum, googled, read a couple of linux books and hunted through the man pages and I can't find anything explaining how to do it. I know that the '/etc/init' directory contains the file 'control-alt-delete.conf' for the 'ctrl-alt-del' shortcut, but looking at that file didn't give me any indication of how to create any new shortcuts. Surely there must be some way to add new keyboard shortcuts to a server system.
View 2 Replies
View Related
Feb 23, 2011
I need to create a custom keyboard layout for Canadian Aboriginal syllabics. How do I do this? Keyboards exist for Windows and Mac.
I can't find any current documentation for this.
View 4 Replies
View Related
Oct 29, 2009
I am new to linux, I would like to know the commonly used keyboard shortcuts. I want to get familiar from the basics.
View 8 Replies
View Related
Jun 8, 2010
Inspired by this question. I would like to remap Caps Lock to escape, but only when I am in vim. I would like to keep Caps Lock untouched while not in vim.
View 3 Replies
View Related
Oct 27, 2010
Is it possible to do the following in Ubuntu? If so can someone point me in the right direction.Say you want to set a keyboard shortcut to do the following: For examples sake, set Alt+F to open Firefox and maximize it, but only if Firefox is not already running. If it is running and not maximized, then maximize the most recently touched Firefox window. If it is maximized, then minimize Firefox.
View 1 Replies
View Related
Jul 5, 2011
Is there a way to add a keyboard shortcut for a terminal command in OSX. Basically most of the times i open the terminal app in MAC in order to ssh into a certain server foo. What I want to do is add a keyboard shortcut (say ^k) so that on a terminal when I do that, it runs "ssh foo" in the terminal.
View 4 Replies
View Related
Jul 17, 2011
I switched from Windows to Linux, and one thing I'm missing is Altnnnn keyboard shortcuts to insert an em dash and other things. Is there any way to get them working under Linux? I'm using Arch Linux and KDE, if that matters.
View 2 Replies
View Related
Jun 24, 2011
I don't know when this started happening, but my shortcuts such as Super+D to minimize all and go to the desktop and Ctrl+Alt+T to open a terminal, etc, have stopped working.
Other shortcuts, such as Alt+F1 and Alt+F2 work correctly, as well as the compiz ones.
View 6 Replies
View Related
Feb 11, 2011
I am using VNC viewer to remotely access a Linux machine. The problem is when I accessed it, I pressed a button which caused the status bar to disappear (containing menus such as 'Application', etc).
Then I couldn't get it again, even the title bar of Eclipse disappeared and I couldn't find any way to restore it. Even terminal is not getting opened.
View 2 Replies
View Related
Jul 16, 2011
I'm trying to emulate behaviour I get from KeyRemap4MacBook on Mac OS X. It lets me remap control-m to Enter, for instance, globally. Is this possible with X/GNOME? Seems like xmodmap is not suitable for remapping key combinations. I tried xbindkeys to bind control-m to xdotool key Return, but it emits control-return. I tried xdotool keyup control; xdotool key Return; xdotool keydown control but it stills behaves unpredictably.
View 1 Replies
View Related
Jul 6, 2010
I've started using the keyboard shortcuts in Linux Mint with the Gnome desktop, and I've found that they don't work unless I first click on the desktop with the mouse.
The problem occurs if I start with no application windows open, then open a single application, and later close it leaving an empty desktop. If any other app windows are open the keyboard shortcuts still work. But if there are no other windows open the shortcuts fail to work until I click on the desktop. It's as though the system fails to return the input focus to the desktop when the last remaining app window is closed.
View 2 Replies
View Related
Nov 7, 2010
How can I create shortcut from one ftp folder to another using SFTP client such as WinSCP with Putty?
For example, application path is /home/primary/webapps/appication/
We have created new user with default home directory /home/secondary/
Using Bash command:
setfacl -R -m u:secondary:rwx /home/primary/webapps/appication/
we added full Read-Write permission for secondary user.
To access application folder he suppose to type full path to application folder which is not so convenient for daily usage.
As a solution I would like to create some shortcuts in home directory to this folders as I seen something similar in default cPanel configuration where PUBLIC_HTML folder has some alias such as WWW.
View 1 Replies
View Related
Jul 29, 2010
On PC-BSD 8.1 (KDE) I have four workspaces. I want to launch rdesktop 1.6 in one of them, full screen if possible (I'll settle for nearly-full in a window if I have to), and be able to do the following:
Switch between windows in the remote session using Alt+Tab. Switch between local workspaces using either the default Ctrl+F1 or what I've switched it to, my preferred Alt+F1.
It seems if I use the -K option, I get 2 but not 1. If I don't, I get 1 but not 2. Is there no way to do this? How can I tell rdesktop to send or not send a specific key combination?
View 1 Replies
View Related
Feb 12, 2011
I frequently move my computer between rooms. Instead of opening the nvidia-settings, making the changes, applying, then confirming them is there an easier way using shortcut keys or shortcuts? Would like to have Ctrl-1 as change to laptop display only, Ctrl-2 for external only, Ctrl-3 for Twinview
View 1 Replies
View Related
Apr 18, 2011
I found that Linux Ubuntu has custom keyboard commands.his is awesome.What I'm trying to do, is make a command that will shut down the computer with a single button with no dialog windows.For you know, being grounded nd stuff.I found the command for it is "shutdown" with a few options.But when I tested it, being bound to pause/break, it did nothingAm I writing the wrong code, as I'm not using any options, or is this not possible?
View 7 Replies
View Related
Feb 28, 2011
I have written a custom keyboard layout that I'm trying to install in Kubuntu 10.10. This is the layout: [URL]
I have added the layout as /usr/share/X11/xkb/symbols/dotan and made these changes:
In /usr/share/X11/xkb/rules/base.lst I added this:
! layout
dotan Dotan
Of course, the !layout line was already there, I did not touch it.
In /usr/share/X11/xkb/rules/base.xml I added this:
<layoutList>
<layout>
[Code]....
However, after a reboot I do not see the new layout in KDE's configuration for these things.
Note: this is a repost of a post on the geekhack forums. After posting I realised that LinuxQuestions is the better place to ask this. For reference, here is the original geekhack thread: [URL]
View 2 Replies
View Related
Apr 29, 2011
So I'm here thinking how to create custom commands on my Linux Debian? I mean so i could open up terminal and just type the script name (and possibly some arguments) and it would refer to the script in my home directory. Otherwise I've write the whole path to the script each time and it gets annoying.
View 2 Replies
View Related
Dec 25, 2010
Create a rpm that installs a script like hello.sh into /root/bin with the permissions 755? I've tried a few ways with rpmbuild but no luck.
View 3 Replies
View Related
Feb 26, 2010
I have fedora 10. My question is: while pungi can create custom spins of fedora can it also create live cd's
View 2 Replies
View Related
Jun 4, 2011
If it is possible, what are parts that should be included in it?
View 1 Replies
View Related
Aug 5, 2011
I wonder if it would be possible to create a custom boot menu entry in grub under Ubuntu (11.04), that boots the system into terminal instead of the login screen.
The effect should be something like the root shell in (rescue mode) boot menu entry, one that gives me access to a root shell or a less privileged shell, without the need to select "root shell" explicitly.
If possible, I also would like to customize the shell started by, most preferably by specifying a shell script to run so that I can start something other than bash, like vim.
My intention is to create a "fast" boot mode to give me a usable system within seconds (to take notes, for instance) without needing to start GUI. Therefore, it is preferred that the silent option is turned on.
Note: There is a requirement: that no existing feature of the system is removed. That is to say, the gnome desktop (and Unity) should remain intact, and is only disabled when I choose this mode.
View 2 Replies
View Related
Mar 3, 2010
How can I get Ubuntu to have sound and screen brightness controls on the keyboard like Mac OSX?
View 1 Replies
View Related
Jun 9, 2010
After I enabled the 3d (using Nvidia driver), I noticed that the ALT_F2 does not display enymore the "RUN application" .. possible conflict with what?
View 1 Replies
View Related
Aug 31, 2010
1) Go to the above website using Firefox browser. Wait for "Done".2) Type the letters 'J', 'u', 's', 't', and ' ' in sequence.On my system (Fedora 13/32bit) the window scrolls several lines immediately after I key in the space character, just as if I had clicked on the gray area in the scroll bar.Why?I've had a similar thing happen several times (over the years) while writing replies in Yahoo mail but don't know what the key sequence was.he result, however, is that the Firefox browser window closes and I lose everything I've written.Shouldn't control keys HAVE to be pressed to initiate keyboard shortcuts?
View 5 Replies
View Related
Mar 7, 2011
I have a problem with my keyboard shortcuts. I go to System/preferences/keyboard shortcuts and then enable my "Open Terminal" command for ctrl+alt+t . Then it works. But whenever I restart, it never saves, and I have to do the whole process over again.
View 6 Replies
View Related
Mar 30, 2011
Already using ubuntu gnome quite a while , and moving to KDE based open suse.. I am confused about the keyboard shortcut , I use ctrl f4 a lot to close tabs in my browser .. but in KDE .. It's the shortcut to change the forth Desktop ..
I already go to system settings system keyboard but there was no ctrl+F4 shortcuts there i am confused .. I really used this shortcut a lot and it's bugging me ..
And one more things .. About the touchpad , can i make it dissapear on inactive when i am typing , i've already checked the touchpad in system settings but there is no such option ? Can i do something to change this ?
View 5 Replies
View Related