profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/balajisivaraman/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Balaji Sivaraman balajisivaraman @thoughtworks Chennai, India https://www.balajisivaraman.com I enjoy programming. (He/Him).

balajisivaraman/emacs-one-themes 27

A port of the Vim/Atom One Dark and Light themes to Emacs

balajisivaraman/basic_calculator_rs 6

Basic Calculator Implementation in Rust

balajisivaraman/dotfiles 2

Balaji's Dotfiles

balajisivaraman/octopress-blogroll 2

Blogroll Generator for Octopress

balajisivaraman/dot-emacs 1

My Emacs Configuration

balajisivaraman/gprompt 1

Pure Rust implementation of a Git CLI Status Prompt

amitdash291/http4k-by-example 0

Complete TDD'd example http4k application showcasing a lot of the http4k features for building apps

balajisivaraman/adventofcode-fsharp 0

Advent of Code Solutions in F#

balajisivaraman/aoc2018-rust 0

Advent of Code Solutions in Rust

balajisivaraman/aoc2019-clojure 0

Advent of Code solutions in Clojure

push eventbalajisivaraman/evil-collection

Frédéric Giquel

commit sha 40b097825d05c2c3976884c8ed5b9bf33b7c3daa

yaml: basic support

view details

Balaji Sivaraman

commit sha a053a47b9e4db459cb559430da5a38dc1deb4422

beginend: ensure num-prefixed motions do not break when enabled

view details

condy

commit sha 1acc80b8bdae6cc3af30b6e3780606951c454552

calendar: setup org bindings on demand Fix #518

view details

condy

commit sha 665b6326fe7d56db9e30b8cfbe62d7d63440b578

Emacs 25 cleanup

view details

push time in a day

delete branch balajisivaraman/evil-collection

delete branch : fix_533

delete time in 2 days

push eventbalajisivaraman/dot-emacs

Balaji Sivaraman

commit sha 5d5568272e0a80b59ca6b6ea87acf6839f9bfbfb

config: supress logging and showing warnings

view details

Balaji Sivaraman

commit sha 8cd53bc76aa75afd9c599660b48553bc058185d1

evil: get rid of snipe and use avy for quick jumping 2 chars

view details

Balaji Sivaraman

commit sha 2a62969ef1bf1862a5f921891a7854dff341a060

evil: disable outline integration for evil-collection This clashes with the Tab behaviour in Org Mode. So let us disable it for now.

view details

Balaji Sivaraman

commit sha 7c77d3761847578594fc5c428db72e15240c108d

evil: enable simple mode integration for Evil Collection This lets us use `q` keybinding in Special Mode (*Warnings* buffer) and modes derived from that like `messages-buffer-mode`.

view details

Balaji Sivaraman

commit sha 9b3a5c7ca6f4ba11e3af9aa8b8d51fe0c53c9d6e

git: ignore .cask folder

view details

push time in 3 days

pull request commentemacs-evil/evil-collection

beginend: ensure num-prefixed motions do not break when enabled

@condy0919, Thank you for the patience! Hopefully it looks good now. Like I said in my earlier struck out comment, the actual definition is quite long, but this is the only way to achieve it without using eval. My solution of using a list of modes and then doing a mapc or a dolist required another round of evaluation of the expanded macro, which was unsafe.

balajisivaraman

comment created time in 3 days

push eventbalajisivaraman/evil-collection

Balaji Sivaraman

commit sha 870d3b1c4b1d5b22206a5e50c34887bd2d45be53

beginend: ensure num-prefixed motions do not break when enabled

view details

push time in 3 days

pull request commentemacs-evil/evil-collection

beginend: ensure num-prefixed motions do not break when enabled

@condy0919, Yeah, my bad. If I use eval to evaluate the macro, it works fine. If I don't use eval and inline the macro calls, this happened. I'll try to figure it out in the evening and send a final version today evening or tomorrow. Thanks for the understanding and support.

balajisivaraman

comment created time in 3 days

pull request commentemacs-evil/evil-collection

beginend: ensure num-prefixed motions do not break when enabled

@condy0919, Done! Without eval, I had to resort to the inlining all the macro calls. Otherwise, whether I use mapc or dolist, the macro gets expanded but never evaluated, I guess causing the bindings to not be set. I feel this is okay. But please let me know if you feel otherwise.

balajisivaraman

comment created time in 4 days

push eventbalajisivaraman/evil-collection

Balaji Sivaraman

commit sha d54cea76553025b67e9eb9c6e7bbac3aa4410eb1

beginend: ensure num-prefixed motions do not break when enabled

view details

push time in 4 days

push eventbalajisivaraman/dot-emacs

Balaji Sivaraman

commit sha 7eeeb4c08eec499449200959c749851a88061f6c

ui: add all the icons dired mode

view details

Balaji Sivaraman

commit sha 68aa4c9d519153d2d649a1471f21ba9a859ca021

evil: enable C-u and C-d scrolling in Evil mode

view details

push time in 4 days

push eventbalajisivaraman/evil-collection

Balaji Sivaraman

commit sha f932d87341d9681425dd231d9875307354ddf5c1

beginend: ensure num-prefixed motions do not break when enabled

view details

push time in 4 days

pull request commentemacs-evil/evil-collection

beginend: ensure num-prefixed motions do not break when enabled

@condy0919, Correct me if I'm wrong, but from looking at files like evil-macros.el also, if I want the macro to expand into something that runs multiple statements, then they have used progn. This can be seen, for example, in evil-define-motion.

My knowledge of Emacs Lisp macros is limited beyond that. If there is a mechanism to achieve the same effect in a defmacro without using the progn, please let me know.

balajisivaraman

comment created time in 4 days

pull request commentemacs-evil/evil-collection

beginend: ensure num-prefixed motions do not break when enabled

@condy0919, Within the defmacro, if I don't use progn, only the last line is getting evaluated. Can you help me with this? Is there another Emacs Lisp form that I can use within the defmacro? Or am I missing something?

balajisivaraman

comment created time in 5 days

push eventbalajisivaraman/evil-collection

Balaji Sivaraman

commit sha 551dec69142e87cd2528c068936d5cf17e32bf6c

beginend: ensure num-prefixed motions do not break when enabled Closes #533

view details

push time in 6 days

PR opened emacs-evil/evil-collection

beginend: ensure num-prefixed motions do not break when enabled

As discussed in #533, this PR provides a fix to ensure number-prefixed gg and G motions do not break when beginend support is enabled.

+71 -91

0 comment

1 changed file

pr created time in 6 days

create barnchbalajisivaraman/evil-collection

branch : fix_533

created branch time in 6 days

issue commentemacs-evil/evil-collection

beginend support breaks several features

@leungbk, Does this look like an acceptable fix?

(evil-define-motion evil-beginend-prog-mode-goto-beginning (count)
  :jump t
  :type line
  (if count
      (evil-goto-first-line count)
    (beginend-prog-mode-goto-beginning)))

(evil-define-motion evil-beginend-prog-mode-goto-end (count)
  :jump t
  :type line
  (if count
      (evil-goto-line count)
    (beginend-prog-mode-goto-end)))kk

It works when I tried it locally. I will have to use a macro probably to do this for all the beginend-foo-goto-beginning functions.

I originally tried just doing (evil-add-command-properties 'beginend-foo-goto-beginning :jump t) and (evil-set-command-property 'beginend-foo-goto-beginning :jump t), but this did not work. This is why I had to resort to the above solution of defining a new motion, which is working.

If this is acceptable, I'll work on a proper fix for all the beginend modes. Cheers.

leungbk

comment created time in 7 days

issue commentemacs-evil/evil-collection

beginend support breaks several features

@leungbk, Thanks for pointing this out. I'm working on a fix for it. (I didn't know that this motion existed either in Vim or Evil, since I have never used it.)

leungbk

comment created time in 7 days

push eventbalajisivaraman/evil-collection

Andrew Fontaine

commit sha 836af920be47bf134e70933c7fab4d1f19048617

mu4e: update binding for attachment actions As part of the move to the gnus viewer for emails, the command name has been changed from `mu4e-view-attachment-action` to `mu4e-view-mime-part-actions`. https://github.com/djcb/mu/issues/2101#issuecomment-903074743

view details

Balaji Sivaraman

commit sha 124fcaf5e3344131352fef64e05d4516635a6d62

beginend: add basic support

view details

Balaji Sivaraman

commit sha a3e7ad3b0d1fdedaaa870873fdee79318f0d2b26

selectrum: add initial support

view details

Brian Leung

commit sha 8a75a0365629c421ea785f1393f577f9d92af58e

comint: Bind comint-kill-input to C-u In Vim insert mode, C-u deletes to the beginning of the line, so we make an analogous binding for comint buffers.

view details

push time in 7 days

push eventbalajisivaraman/dot-emacs

Balaji Sivaraman

commit sha 683a1401155988e14ed874a6e46a03bec40659e2

evil: setup some variables for better usage of evil collection

view details

Balaji Sivaraman

commit sha 9f9936feb11f443f187214370a78cf665852826f

fix: do not add outline minor mode in Prog Mode I have no idea why I set this up originally, but this is causing issues with certain keybindings in other modes. So we are disabling it now.

view details

Balaji Sivaraman

commit sha 4228a887be0bfc658930e682e7f68afd62ba6213

fix: address revert buffer typo

view details

Balaji Sivaraman

commit sha 3724b4950323931410f8862deb233b9fbb04427e

evil: setup evil ledger mode Treating Ledger transactions as text objects is a pretty neat feature.

view details

Balaji Sivaraman

commit sha 369021220603c253edf444d7f390a22fe68f1e2b

Squashed 'site-lisp/evil-markdown/' content from commit 8e6cc68 git-subtree-dir: site-lisp/evil-markdown git-subtree-split: 8e6cc68af83914b2fa9fd3a3b8472573dbcef477

view details

Balaji Sivaraman

commit sha 26148db9cd43c7671f8c7f251ba2ffde2d83b552

Merge commit '369021220603c253edf444d7f390a22fe68f1e2b' as 'site-lisp/evil-markdown'

view details

Balaji Sivaraman

commit sha 2acc6768ba9f489c52620df3b470410c12b464b0

evil: setup evil markdown mode

view details

Balaji Sivaraman

commit sha 2ec1aeda97797ae41c3d54b4c9111bf34c11ae0b

fix: setup evil org mode properly

view details

Balaji Sivaraman

commit sha 9ce499939b4eae2eb291bbcc0feea5cf829da0b6

config: setup a few additional evil collection modes

view details

Balaji Sivaraman

commit sha 10b031f46dc2d69f1f8aff6172b083950910bec0

config: setup `gr` binding to refresh org agenda

view details

push time in 7 days

delete branch balajisivaraman/evil-collection

delete branch : add_selectrum_mode

delete time in 7 days

delete branch balajisivaraman/evil-collection

delete branch : add_beginend

delete time in 7 days

pull request commentemacs-evil/evil-collection

selectrum: add initial support

@condy0919, I have now fixed both. I have setup M-RET for selecting the current minibuffer input. Looking around all the other configs, I could not find one that exactly matched with this particular use-case, so I went with this, since it sort of made sense to me.

balajisivaraman

comment created time in 7 days

push eventbalajisivaraman/evil-collection

Balaji Sivaraman

commit sha d58195c8c86ab6984ee6f3c4fb4f1060143199d3

selectrum: add initial support

view details

push time in 7 days

pull request commentemacs-evil/evil-collection

beginend: add basic support

@condy0919, Sorry again! :disappointed: It's fixed now.

balajisivaraman

comment created time in 7 days

push eventbalajisivaraman/evil-collection

Balaji Sivaraman

commit sha 2eddcd91829877efd16029271bd390b7b5d624ce

beginend: add basic support

view details

push time in 7 days

pull request commentemacs-evil/evil-collection

beginend: add basic support

@condy0919, Sorry. I didn't notice my screw up there. I have added it also now.

balajisivaraman

comment created time in 7 days

push eventbalajisivaraman/evil-collection

Balaji Sivaraman

commit sha 724fe1abec3345eacfc6995e5fc729a4b5888dd3

beginend: add basic support

view details

push time in 7 days

PR opened emacs-evil/evil-collection

beginend: add basic support

Hey,

beginend is a mode that changes the behaviour of M-< and M-> under normal Emacs bindings to go to the beginning of the buffer that makes sense. For example, the top of the first section in magit-status instead of the first line.

With this PR, we bring that behaviour to gg and G bindings under Normal state in Evil Mode.

Thanks.

+149 -0

0 comment

1 changed file

pr created time in 7 days

pull request commentemacs-evil/evil-collection

selectrum: add initial support

@condy0919, Thanks! I had originally missed that. I have now added all the keybindings behind evil-collection-setup-minibuffer.

balajisivaraman

comment created time in 7 days

create barnchbalajisivaraman/evil-collection

branch : add_beginend

created branch time in 7 days