Vim or Emacs

Ok I'm a huge Vim fan... But I'm curious to know what other Arch linux users prefer and there reasoning for doing so. I prefer vim I think because I started life in it rather than Emacs, I have tried to like Emacs and just can't!
Sorry if this causes a flame war!

linkmaster03 wrote:
bernarcher wrote:
Cyrusm wrote:one annoying thing about vim is that sometimes I accidentally leave the caps locked when I enter command mode (try it and watch the chaos ensue!). there's a hack to prevent  this, but I've been too lazy to implement it.
There is a cure: Switch the Esc and CapsLock keys. Makes vim live a lot easier as well.
The real cure is actually to remap Caps Lock to Backspace.
Backspace? I've never really learnt what to use that key for, i never use it.
Nah but seriously, vim with esc-caps switched is great, and it's damn easy to do it in X. Gaming is also way better with caps-esc when you have to close a menu fast because you're under attack, or when you have to pause the game quickly to calm down.

Similar Messages

  • Vim mode in Emacs (no editor war)

    I've been using vim for some time now and I really appreciate the different modes and key bindings. I've experimented a little with emacs and I really like it as a development environment and its flexibility and extensibility, but so far I don't really like it as a text editor (I'm not interested in starting a discussion about vim vs. emacs / editor war).
    Of course I might need to get more familiar with emacs to appreciate and get used to its text editing "paradigm". I've been thinking about using one of the vim modes for emacs (viper-moder, evil-mode...) to be able to use emacs as a development environment, and vim as the editor, but some people seem to believe that it's better to learn the emacs way of doing text editing.
    Why would I not want to use a vim mode in emacs if I like the way of editing text in vim? What are the downsides compared to using emacs alone?
    I basically want to keep vim as my text editor, but have the ability to use it with emacs when doing more than just simply editing text. Is this worth the trouble of using a vim emulator? Any other users doing this?
    Thank you

    Trilby wrote:I'm curious what additional behavior / features you want that vim can't provide.  I only very briefly dabbled in emacs, and also ask only out of pure curiosity: I've been amazed at how much I can extend vim's behavior and I'm wondering if there is either 1) something useful I am missing, or 2) something useful that could be scripted into vim.
    lol, I totally agree with that statement. 
    As for what could be scripted into vim, a built-in compiler or at least a compiler-command resolver would be nice.
    NOTE: by compiler-command resolver, I mean that if you're working on a 'file.c' then when you run something magical like this:
    :compile
    it would send the following to the shell
    gcc -Wall -O3 file.c -o file
    akh wrote:I've experimented a little with emacs and I really like it as a development environment and its flexibility and extensibility, but so far I don't really like it as a text editor (I'm not interested in starting a discussion about vim vs. emacs / editor war).
    I've also found that Emacs is really nice for certain development-esque tasks.  Like, I used to use Emacs, back when I first started using Arch, to edit openbox's config files and I have always fondly remembered it being super-cool at working with the xml.  Like it would even highlight mistakes and was always pristinely consistent with syntax highlighting and indenting from what I can remember.  (Honestly, I kind of miss using it to edit XML, lol, xD I've developed an emotional attachment to a text-editor. )  I still occasionally use Emacs for when I'm having a hard time getting a certain lisp function or what-have-you to work (see lispbox) and then only when I'm tired of how awkward my setup of vim-slimv is--I've been needed to amend some aspects of it for quite a while, but I haven't been using it lately, so--naturally--I've haven't bothered to do so. 
    And I agree with you 135% on not liking much for text editing; I prefer a more modal environment. 
    As for editor wars, I honestly don't understand where the glory of dying in battle for your favorite text-editor is... maybe behind the couch or wherever the potato chips are
    in my opinion, they're a waste of time for the participants; as for the readers, I actually find it a bit amusing to read them, or of them.  Honestly, though, I don't understand why we can't all just enjoy having an editor that we adore and love no matter what that editor is. 
    EDIT: Take a look at this forum post vim vs. emacs, I only glanced at it, but it seemed to be talking about ways to make emacs better for just plain text editing.
    Last edited by lspci (2013-03-13 04:37:06)

  • Emacs as an operating system?

    Currently using Awesome WM and it works pretty well for what I need. However, I have read several posts where people say, "Emacs is the best operating system!" Now having very little knowledge about Emacs it is difficult to tell if they are speaking literally or figuratively. So my question is can Emacs serve as a window manager/operation system or is it merely a highly configurable text editor that runs within a window?

    ewaller wrote:
    drcouzelis wrote:What with having a built in terminal emulator, it's possible to run EMACS in EMACS!
    The emacs shell  wrote:$ emacs -nw
    emacs: Terminal type "dumb" is not powerful enough to run Emacs.
    It lacks the ability to position the cursor.
    If that is not the actual type of terminal you have,
    use the Bourne shell command `TERM=... export TERM' (C-shell:
    `setenv TERM ...') to specify the correct type.  It may be necessary
    to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well.
    $
    But, you can run emacs without the -nw from the shell, but it spawns a new emacs window.
    "shell" is not the only terminal you have.  There are also "eshell" and "term" ("ansi-term").  All three have their advantages and disadvantages.
    And you can run emacs or vim inside emacs using "M-x term".
    As for me, i use emacs:
    for reading mail and news (with Gnus),
    for chat (there are several IRC clients for emacs),
    for listening to music including online radio (with EMMS as a frontend and mplayer as a backend; you can also watch videos like that),
    for configuring programming WM i use (StumpWM) on the fly (with SLIME),
    for working with files (using dired and Surnise Commander),
    as a super-inteface for git (Magit),
    for Org mode,
    even for reading web-pages when i'm only interested in content and not fancy appearance (with w3m; there is also eww),
    for having fun by using elisp for extending emacs for my needs,
    and for working with text in any kind.
    And i think i didn't mention many things i use and a lot of things i don't use.
    Last edited by alezost (2013-12-12 10:03:27)

  • Eclipse vs emacs

    That's all.

    deficite wrote:
    I really disagree with you there because both VIM and EMacs are very well suited to being IDE's. I do a lot of programming and I accomplish everything from gVim. I never leave gVim for anything. This is giving me some serious deja vu though. I can remember a post a while back that argued on what an IDE really is.
    I also don't see it as apples vs. oranges because if you use Emacs and Eclipse as development environments, they're both accomplishing the same thing. It comes down to the style of development environment you like. So it's more like Golden Delicious vs. Granny Smith (I prefer Granny Smith, BTW. Golden Delicious is yummy too)
    I see your point, and ofcourse emacs and vim can be used as an IDE as well, as you put it, "It comes down to the style of development environment you like". I just feel the environments they provide are so different that its not really comparable.
    emacs and vim are good editors that with add-ons can be used as IDEs, while I see eclipse more as a platform for different tools, in which one of the tools happen to be a good editor.
    I guess its down to what your definition of an IDE is...

  • How can I configure a mysql-database for new cms install?

    I just install a mac os x server on os x 10.8.4, but can't create a database to install a cms, how can I do this ? How cann I access the database from admin window or else ?

    Consider acquiring some external hosting as part of your efforts, then?  Various folks offer this hosting, and that gets you out of maintaining (most of) MySQL and Drupal, and more time to spend on your web site and whatever else you're working on.
    As for your questions, please follow the installation instructions for installing MySQL, then follow the instructions for installing Drupal.  The OS X Server setup is basically the same as any other Unix system, too; what you're doing on Ubuntu is more or less the same as what you're doing on other Linux and Unix systems, and on OS X and OS X Server.  (This is also at the core of why most of these add-on widgets expect you to set up your PATH, too.)
    The Drupal database connections are managed under the sites directory, a subdirectory located within the Drupal directory tree.  You'll find subdirectories for the specific Drupal sites you've configured there, with a settings.php file for each.  There's also a general sites directory with modules and themes that can be applied generically.  The settings.php file itself can be edited with nano, vim or emacs via the command line, or with one of a very few ASCII-capable GUI editors.  If you don't know what I'm referring to here, use nano editor.
    Yes, you can install phpmyadmin on OS X.  I wouldn't, though.  Sequel Pro has a much more familiar interface for folks that use OS X, and you don't have to protect that tool quite like you have to protect and maintain phpmyadmin against attack.  Do not allow remote access to phpmyadmin, as ill-secured sites are a popular target for remote attacks.
    The Drupal web forums are a pretty good resource for Drupal-related questions, too.

  • Apache mod_rewrite, htaccess and virtual host

    Does not appear that the htaccess file is doing anything at all; I tested with a 301 redirect and even put some random nonsense in it in hopes to provoke a server error and nothing.
    httpd.conf : http://pastebin.com/36qFCg5q
    httpd-vhosts.conf
    <VirtualHost *:80>
        DocumentRoot "/Users/jwindhall/Railo/tomcat/webapps/ROOT/dentist_app"
        ServerName xxx.com
        ServerAlias www.xxx.com
    <Directory "/Users/jwindhall/Railo/tomcat/webapps/ROOT/dentist_app">
        Options All Includes Indexes
        Order allow,deny
        Allow from all
        AllowOverride All
    </Directory>
    ProxyRequests Off
    <Proxy *>
    Options All Includes Indexes
    Order allow,deny
    Allow from all
    AllowOverride All
    </Proxy>
    ProxyPass / http://www.xxx.com:8080/
    ProxyPassReverse / http://www.xxx.com:8080/
    </VirtualHost>
    jwindhall.conf:
    <Directory "/Users/jwindhall/Railo/tomcat/webapps/ROOT/dentist_app">
    Options Indexes MultiViews FollowSymlinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    The question etresoft was asking was around what goal or end or configuration you were trying to achieve here, and not who you might be.  With some background on the problem and on the particular goal, we might be able to provide you with a more direct solution, or debug the error. 
    It looks like you're trying to run some Tomcat stuff.  Something like this?
    Though that articile doesn't indicate it, the provided set-up there looks to be specific to OS X client.  Are you running OS X Server, or OS X client.  And in either case, which version?   (The management user interfaces do vary here, both by client and server, and by version.)
    The article also looks to be for 10.6 or earlier, or it presumes that you have Java installed.  That's not the default, so that's something you'll need to establish.
    Apache redirects do work on OS X and OS X Server.  If you're just testing that, get rid of Java and Tomcat and the rest (from your configuration test) and test just the URL redirects.
    Apache is also sensitive to file protections and ownerships, as it strives to avoid allowing an attacker at your whole system (by default), though those protections can be overridden.
    As a first step toward troubleshooting your current configuration, invoke the Apache configuration test on your system and see if it tosses any errors, and also check the Apache server logs for relevant errors.  The logs are usually in the /var/log/apache2 directory, though that can be changed.  This'll make sure the core giblets are working.  The next steps would usually then involve checking the protections on the web directories, and then testing Java and Tomcat individually.
    OS X Server is a little more simple to set up and (mostly) avoids needing to access the configuration files, and the directories and related are IMO a little easier to deal with; you're using Server Admin.app or Server.app (depending on the OS X Server version) to manage all that, and not a text editor.
    And you may already be aware of this; do not try to use a GUI editor to edit the configuration files.  TextWrangler will work here, but most other GUI editors won't.  Using a command-line editor is more common; nano or vim or emacs or such.  FWIW.

  • Disk still wakes up with laptop-mode-tools

    Hi all,
    I have a Thinkpad x61 and I'm trying to manage power use with laptop-mode-tools, but I'm having trouble with the harddrive waking up too much. I have it configured so that lm-tools activates when the power is disconnected, and sure enough, a few seconds later the harddrive spins down. But 1-2 seconds later it spins back up! iotop indicates that dhcpcd is writing to the drive, and thus waking it up.
    I thought lm-tools was set so that I could "potentially lose up to 10 minutes of work." Shouldn't that mean that up to 10 minutes of writes get buffered in ram instead of waking up the harddrive? If I disable the network, dhcpcd stops waking things up, but if I save a buffer from emacs, the harddrive instantly wakes up, so it looks like there's no buffering going on...
    Here are some relevant settings while in laptop-mode:
    $ dmesg|tail
    [15425.800826] EXT4-fs (sda1): re-mounted. Opts: data=ordered,commit=600
    [15425.982220] EXT4-fs (sda2): re-mounted. Opts: data=ordered,commit=600
    $ cat /proc/sys/vm/dirty_writeback_centisecs
    60000
    $ cat /proc/sys/vm/dirty_expire_centisecs
    60000
    $ cat /proc/sys/vm/dirty_bytes
    0
    $ cat /proc/sys/vm/dirty_background_bytes
    0
    $ cat /proc/sys/vm/dirty_background_ratio
    1
    It looks like dirty_writeback is getting set to 10 minutes and the journal commit rate is also set to 10 minutes. Should dirty_background_bytes and dirty_bytes be nonzero?
    Here are some relevant lines from /etc/laptop-mode/laptop-mode.conf:
    LM_BATT_MAX_LOST_WORK_SECONDS=600
    CONTROL_READAHEAD=1
    LM_READAHEAD=3072
    CONTROL_NOATIME=0
    USE_RELATIME=1
    CONTROL_HD_IDLE_TIMEOUT=1
    LM_BATT_HD_IDLE_TIMEOUT_SECONDS=10
    BATT_HD_POWERMGMT=1
    CONTROL_HD_WRITECACHE=1
    NOLM_AC_HD_WRITECACHE=1
    NOLM_BATT_HD_WRITECACHE=0
    LM_HD_WRITECACHE=0
    Any ideas what I'm missing?
    Thanks in advance for any suggestions!

    kaczoanoker wrote:I noticed that vim and emacs wake up the HD in laptop mode, but something like "dd if=/dev/zero of=~/test bs=1M count=1" doesn't. Does it mean that editors typically force-flush the buffers, which defeats the point of laptop-mode?
    Vim calls fsync(2) when writing files and swap files per default. One can control this behavior with the fsync and swapsync options.
    I don't know if Emacs has similar options.

  • Unexpected Error while Launching Application

    Ok I am new to JNLP,
    but I have created a working JNLP file, signed my jar file, and configured Tomcat to localhost:8080. Tomcat says it is working, and JWS launches and does it thing. However the application bar seems like it is stuck in a loop and I get the following errors...
    in General tab:
    Unexpected exception: java.lang.Exception
    in the Exceptions tab:
    java.lang.Exception
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I am using 1.5 beta. On a xp system. the jar file is signed, with all my classes/images in a package in the jar file.
    any help would be greatly appreaciated

    I'm new to java web start, but had a working web start application just last night but managed to delete it :-)
    I 've read something about using different editors and having spaces after the first line works... But not for me. I tried editing with vim and emacs
    Same version same error :
    Category: Unexpected Error
    Unexpected exception: java.lang.Exception
    java.lang.Exception
         at com.sun.javaws.Launcher.continueLaunch(Launcher.java:843)
         at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
         at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
         at com.sun.javaws.Launcher.run(Launcher.java:165)
         at java.lang.Thread.run(Thread.java:479)
    JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
    codebase="http://luctor.shacknet.nu:3000/~engelsen"
    href="Adresse.jnlp">
    <information>
    <title>Adressebok</title>
    <vendor>Jushjelpa i Midt-Norge, JCE</vendor>
    <description>Adressebok internt</description>
    <description kind="short">Adressebok</description>
    </information>
    <resources>
    <j2se version="1.3"/>
    <jar href="Adressebok.jar"/>
    </resources>
    <application-desc main-class="org.engelsen.Gui"/>
    </jnlp>

  • [SOLVED] WARNING: bad format of line 333654 of /etc/fstab

    Hi everyone,
    I know that there are couple of topics concerning my problem but non of them  was helpful, because my computer doesn't even boot.
    Here's how it started:
    I was trying to mount a game for the first time and something went wrong. I got message in terminal saying: the file couldn't be found in /etc/fstab so I pasted the iso image in /etc/fstab. I quit trying to mount and changed the appearance of my desktop (changed the theme, wallpaper the size of the folders etc.) and restarted the computer. When the booting started everything was normal until the message  WARNING: bad format of line 333654 of /etc/fstab showed up it started to go on and on and on - the same message with different numbers and it doesn't stop.
    What should I do?
    I've tried to use my apple laptop to go to my linux Arch pc but I get the message "Host is down"
    I also have a Kubuntu 9.10 i386 cd.
    I really don't want to re-install. I thought maybe there is a way to somehow get to /etc/fstab and delete the file I pasted.
    p.s
    I am new in Linux and Arch linux, I am still trying things and often do something silly that I have to find a way to fix
    Last edited by Encho (2011-02-27 15:01:42)

    /etc/fstab exists to be a file system table. It does not and indeed should not contain the contents of an image file such as an ISO. Disk images contain filesystems themselves, so the most you would need to put in /etc/fstab to mount them at boot is a line describing where the image sits and at what place in the filesystem it should be mounted.
    That message about not being able to find it in /etc/fstab appeared because you either didn't specify a mount point for the image or the specified mount point did not exist. But, first, you will need a live CD of some sort to fix your boot issue. You could use the Arch installation live CD to do it—I recommend it. Whatever you choose, you need to mount your root partition and edit <mountpoint>/etc/fstab. If you need to figure out what your root partition's name is in /dev/, type blkid. For example, on my system I would do something like this from the live cd to mount my root partition:
    # blkid
    /dev/sdb1: UUID="06f29dbd-8ce8-4d98-82ee-9e84b7d44758" TYPE="ext2"
    /dev/sdb2: UUID="3747c62b-2be0-415e-bdba-58ca44a67f6d" TYPE="swap"
    /dev/sdb3: LABEL="roothome" UUID="50f8625e-3eeb-4578-9229-e7030bd2a082" TYPE="ext4"
    /dev/sda1: UUID="7CAC3BEAAC3B9D98" TYPE="ntfs" LABEL="System Reserved"
    /dev/sda2: LABEL="halite_windows" UUID="92863FB7863F9AA5" TYPE="ntfs"
    /dev/sdc1: LABEL="citrine" UUID="35987e49-a4e7-4c5f-81cb-1a4e87373ecc" TYPE="ext4"
    # mkdir /mnt/roothome
    # mount -t ext4 /dev/sdb3 /mnt/roothome
    # vim /mnt/roothome/etc/fstab # to edit the fstab
    Once chrooted, edit the /etc/fstab file with your favorite console editor, e.g. vim, nano, emacs, and remove all the stuff you pasted in. It might be helpful to copy the first 20-30 lines of the file – that should be about all your fstab should need – truncate it, and then add the mounts that you copied. (Indeed, it should be possible to use sed or another utility to truncate the file after the last line of the fstab, before the data image begins.)
    In the future, if you see a message about not being able to find the file in /etc/fstab, create a mountpoint for it:
    # mkdir /mnt/iso
    # mount -t iso9660 image.iso /mnt/iso/
    Last edited by Snowknight (2011-02-27 15:51:20)

  • Using Text Editor app

    Hi,
    I am have a long plain text doc and I would like to copy and paste it on to a rtf doc in Text Editor, however when I attempt this I am unsuccessful. Is this possible using the text editor? How do I acheive this. I would also like to understand what this app does but can't really find a clear explanation.
    Thanks

    The capabilities and features of TextEdit are intentionally both basic, and quite generic.
    Many of the folks working with text extensively will tend toward the use of a full-on text editor such as the command line text editors vim or emacs, a GUI version of those editors such as MacVim or the emacs distros for OS X, or loading and using the (free) TextWrangler tool in place of TextEdit, or moving toward a purpose-built text-processing tool such as using Scrivener for writing or Xcode for programming.
    For what you're probably up to here, I'd guess that TextWrangler is probably the best and most flexible approach.  That tool can read and write all sorts of different file formats and encodings, and it's GUI based — as you'd probably prefer to use here.
    Text files can and do have various formats and various contents — different file organizations and different text encodings, whether using RTF, or a text file containing Unicode or ASCII / ISO Latin 1 or various other character encodings, so without some idea of what you're dealing with here, a more specific answer is difficult. 
    "Simple" text files usually aren't, unfortunately.

  • [Solved] Open Office NOT in repositories

    Hi,
    How do I install open office?
    Running pacman -S openoffice I get above response.
    Thanks
    Solved: found the following Wiki page:
    http://wiki.archlinux.org/index.php/OpenOffice
    Last edited by mibadt (2009-11-20 01:43:14)

    B wrote:Well because of licensing issues we don't provide OpenOffice anymore. Henceforth, Arch users are actively encouraged to appreciate the blessings Vim or Emacs bestow upon them.
    Huh? Was that a joke that suffered in translation?
    @riivo
    I recommended using the search function so he could find "go-openoffice" as well, along with all the supplementary packages.
    Teaching to fish, as the saying goes.

  • Permissions and FTP set up

    I am trying to set up a new Mac Mini with Snow Leopard Server. To be honest, given I have managed several other Linux boxes, both dedicated and VPS, I am a bit surprised how badly my first adventure with 10.6.1 is going
    I have a whole range of issues but right now my biggest challenge is that I can't seem to edit any config files (httpd.conf, php.ini etc) using an editor (Coda) that is locally installed. I am logged into the Mac as admin, there is only 1 account - the same admin account that allows me to do everything else but when I try to save a file that I have edited, I get a permissions error. If I look at the file properties (Option-i), I can see I own the files are they are CHMODed to 644. I have tried restarting services - Apache, MySQL etc but to no avail. I just don't get how, when I am the only user and an admin, why I can't edit these files - I must be missing something fundamental...
    I am seriously considering trashing the Snow Leopard Server install and replacing it with XAMPP but then I lose the whole point of buying an integrated server.
    Can anyone suggest what might be going on with permissions and why, as admin, I can't edit my own files?
    As a sidenote, I am also having trouble with SLS's handling of vhosts. I am used to setting these up manually and it works just fine but somehow using the Apple interface, it's just not happening. I set up the folders and vhost name but can never seem to browse to the folder using another mac on the network - only the default SLS page. I don't expect anyone to explain this in detail here but if you could point me to a decent resource or some proper documentation for 10.6 rather than previous versions, I would appreciate it!
    Thanks

    Mac OS X Server is divided into two parts; the Apple UI layer and tools, and the Apple directories, and the underlying Unix layer. Once you're active in the lower layers, you're expected to be familiar with Unix server configurations and management. And you're expected to manage the configuration files and other such either in conjunction with the GUI tools and in a compatible fashion, or (depending on the changes you're making) taking over from the GUI tools and managing the environment entirely manually.
    The configuration files are typically managed via the GUI and Server Admin and related tools for a baseline configuration.
    If you're editing files, you can end up derailing the GUI management tools; proceed here with caution. You can end up reinstalling.
    To edit the low-level configuration files, the usual is with something akin to this:
    +sudo nano /etc/apache2/httpd.conf+
    or related. sudo means you'll have to enter an administrative password. vim and emacs are also available. httpd.conf is one of the many files that is typically managed with Server Admin.
    I don't know off-hand if Coda can edit and can save edited text as plain-text files; the configuration files have to be plain-text, and not RTF or otherwise. (nano, vim and emacs can.)
    As mentioned; you may need to reinstall here, if you're off editing configuration files manually. Making the choice to edit files manually is fine, but that can mean you won't be using Server Admin.
    Your first requirement here with getting Mac OS X Server going is to get DNS configured and working. This is one of the first steps, and failure to have functional DNS means the rest of the stack can be unstable or uncooperative.
    Some items for your reading list: [DNS Notes|http://labs.hoffmanlabs.com/node/1436] and [Apache virtual hosting notes|http://labs.hoffmanlabs.com/node/1329], and definitely the [Apple Mac OS X Server manuals|http://www.apple.com/server/macosx/resources/documentation.html]. You're active at the Unix layer, which means you'll want to be familiar with the Command Line manual, as a start.
    I have an article on [configuring and activating ftp|http://core/node/942]; that's easily possible. In general, sftp is easier to deal with, and more secure.

  • Urxvt-keyboard-select - mouseless text selection in urxvt

    Hello again,
    my next urxvt extension reached a stable stage, so it's time to post it here: keyboard-select
    Please have a look at the top of the file for details on how to use it, or read the README on github.
    The usage is comparable to tmux/gnu screen, but its mappings are more vim-like.
    As for now, the most basic cursor movement keys are available, I'm planning to add the following in the near future: [fFwWbBeE;,/?nN]
    And this time I've also managed to upload a PKGBUILD before writing this post...
    Last edited by ber_t (2011-03-29 12:36:50)

    @hitsmaxft: Your extension looks nice, I will try it out later. But your one always uses urxvt's selection for highlighting; I use rendition bits for that, because I want a chance to cancel visual mode without losing the content of the primary buffer. It also misses some delete statements, for example, it always creates a new overlay without deleting the old one.
    I will continue developing mine (at least just for the fun of it), even if your one already features everything I'd plan to implement.
    For all the emacs lovers: I will try to provide vim and emacs keybindings, but I didn't come up with a nice way of handling this. And by nice I mean no code duplication and no complex key dispatcher, taking up more code than the real functionality.
    Be patient, or:
    VCoolio wrote:... but we could also modify the keys in the script ourselves of course. If only I wasn't that lazy... but who knows.

  • Code for restoring default permissions to etc/hosts?

    Could someone help me with the proper code for setting the permissions on etc/hosts to their proper default setting?

    sudo chmod 644 /etc/hosts
    sudo chown root:wheel /etc/hosts
    Those are the settings on my iMac.
    If you use an editor such as
    sudo nano /etc/hosts
    you will most likely not have these problems.
    If you are a more experienced Unix user, then vim or emacs are good choices as well, but both of those editors have steep learning curves.
    Message was edited by: BobHarris

  • How to install php, perl, python, C text editor

    I want to know how to install perl, php, C , Java Text Editors in Mac OSX.
    which editor is better .

    C you installed by installing the XCode package from your installation DVD
    Perl is already installed
    PHP is already installed
    Text Editors are a Religion, as once you have trained your fingers to use a given text editor, you frequently do not want to change, so after that your editor is the only "True" editor :-)
    If you are serious about C programming in a Unix environment, then Vim or emacs.  If you are going to be doing mostly Mac OS X Objective-C, then use the XCode editor.  If this is just a hobby, then a GUI text editor such as one of the previously mentioned editors

Maybe you are looking for

  • Java & Windows XP Problems

    I really hope someone can help me with this, because it become soooooo frustrating! I originally ran Java 2 1.2.2 on a 733mhz P3 64Mb RAM PC Win 98, using Textpad 3 with no problems at all. I've now upgraded to a 1.8Ghz Duron, 128Mb RAM, Win XP. I do

  • AIM 5.9 for mac

    ive read the popular webpage tutorial about ichating with pc using AIM. ive tried to use ichat at first but on the tutorial it says 5.9 is the version of AIM that u can also use to video chat but at AIM.com it is an .exe file anyway to convert or any

  • Number range error in goods movement BAPI

    Dear friends we are using the BAPI BAPI_GOODSMVT_CREATE to create a material reservation with movemnet type 201. although all the fields are maintained properly i get an error number 136 - number range different. i checked the number range and found

  • [Solved] Warcraft screen freeze

    I few weeks ago before I moved to Arch I had sidux on my computer. I had Wine running Warcraft III fine for months. So then I also wanted to play Starcraft (which doesn't work so well on Wine) so I installed virtualbox with Windows XP. I forget how e

  • Shockwave Plug in problem

    Hello, I am trying to access a page that contains a game. When trying to naviagate to this page it comes up saying this: "The page "iSketch" has content of MIME type "application/x-director", but you don't have a plug-in installed for this MIME type.