Nice. Thanks Peter. I use the n, p and v navigations now, but always want to
do that vim / Ctrl-d thing, lol. I figure I just need to spend some time
getting used to emacs' navigation idioms. It's going to take a lot of doing
to pull me away from vim habits.

Tim


On Wed, Sep 14, 2011 at 8:50 PM, Peter Buckley <buckmeist...@gmail.com>wrote:

> ** In emacs you can give a number to preface many commands, e.g. C-37 C-n
> will perform "next line" 37 times, and C-37 C-p will perform "previous line"
> 37 times. You can setup keybindings for these as well, but I find the basic
> navigation commands like C-v/M-v (up/down a page) and C-l (center current
> line in the buffer) to be sufficient.
> ------------------------------
> *From: * Timothy Washington <twash...@gmail.com>
> *Sender: * clojure@googlegroups.com
> *Date: *Wed, 14 Sep 2011 20:08:28 -0400
> *To: *<clojure@googlegroups.com>
> *ReplyTo: * clojure@googlegroups.com
> *Subject: *Re: Rounding the edges of an Emacs beginner
>
> Far out - this is great stuff. Thanks guys.
>
> Wrt to moving down (or up) a block, vim-style, what I mean is the following
> (all functionality in 'Command Mode').
>
> In Vim , you press *Ctrl-d* and *Ctrl-u* to go down and up a block
> respectively. Depending on the size of your window, it moves the cursor
> about 1/3rd of the way down (or up) the screen. This is very handy to have
> when just browsing a buffer. You can be more precise by pressing 37k, to
> move the cursor up 37 lines, etc.
>
> For whatever reason, I haven't been able to find something similar in
> Emacs.
>
>
> Tim
>
>
> On Wed, Sep 14, 2011 at 3:53 AM, Stefan Kamphausen <ska2...@googlemail.com
> > wrote:
>
>> Hi,
>>
>> just a few follow-ups...
>>
>> On Wednesday, September 14, 2011 4:13:47 AM UTC+2, frye wrote:
>>
>>    - ? howto list modes engaged
>>
>> Aside from the already mentioned C-h m (aka M-x describe-mode) you will
>> want to use
>>
>> * C-h k (M-x describe-key) followed by some keybinding to find out what
>> that keybinding does
>> * C-h w (M-x where-is) followed by the name of some command to find out
>> what keybinding exists for that command
>> * C-h a PATTERN (M-x apropos) to search for PATTERN in command names and
>> variables (ah, I miss hyper-apropos from XEmacs)
>> * C-h v VARIABLE (M-x describe-variable) to see the documentation for a
>> variable in ELisp (use C-c C-d d on Clojure symbols to see their
>> documentation from SLIME)
>> * C-h f FUNCTION (M-x describe-function) to see docs for an Elisp-function
>> * and finally C-h ? to find out what other help is available
>>
>> The built-in help system of Emacs is one of its greatest strengths.
>>
>>>
>>>    -
>>>
>>>    ? Can you use Emacs / Slime / CDT (debugging) with Ruby / Rails
>>>
>>> ? howto do Code completion (clojure, and elisp )
>>>
>>>
>>> Try TAB in the REPL and M-TAB in a Clojure-buffer when you are connected
>> to a running image.
>>
>>
>>> As a VIM'er, I'm trying to do the following using emacs navigation, but
>>> seem to have missed the levers to pull. I'm using a vim navigation
>>> plugin <http://gitorious.org/evil/pages/Home>, which helps a lot.
>>>
>>>
>>>    - ? set line numbers
>>>
>>>
>> I use linum.el written by  Markus Triska:
>> (when (try-require 'linum) ;; try require is just a minor wrapper which
>> checks, whether a lib is available
>>   (global-linum-mode))
>>
>>
>>>    - ? go to line 'n'
>>>
>>> Since my fingers are used to M-g I bind that key to goto-line :
>> (global-set-key (kbd "M-g") #'goto-line)
>>
>>
>>>    - ? how to jump to matching parentheses
>>>
>>> Meta with left and right cursor keys. Actually those are forward-sexpand
>> backward-sexp
>>
>>>
>>>    - ? move down a chunk like in vim
>>>
>>> What does that mean?
>>
>>>
>>>    - ? yank 'n' lines -> emacs yank puts back some 'killed' text ; HOWTO
>>>    copy
>>>
>>> Mark things by first enabling the mark with C-SPC. Move around using your
>> usual command.  Copy to the kill-ring with M-w or cut the text and copy it
>> to the kill-ring using C-w.  After that you can yank (Emacsspeak for
>> 'paste') from the kill ring with C-y.  Try M-y right after a C-y to get
>> older elements on the kill-ring. For marking, try what C-M-SPC does, also
>> hit it several times in a row.
>> Warning: if your finger's memory learns this, using modern IDEs may feel
>> awkward.
>>
>> Regards,
>> Stefan
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to