Spacemacs Ctrl-i fix

Spacemacs uses Ctlr+o to move backward to the last edited location and Ctrl+i to move foward after going back using Ctrl+o similar to Vim.

I found that Ctrl+o works but Ctrl+i doesn’t moves forward through the edit locations. I had the same issue in OSX/emacs 25.1 and in ubuntu/emacs25.1.

Searched the net and found this helpful issue page – https://github.com/syl20bnr/spacemacs/issues/5050

We have the troubleshooting steps there

(lookup-key evil-motion-state-map [C-i]) ;; should be evil-jump-forward
(display-graphic-p) ;; should be t
dotspacemacs-distinguish-gui-tab ;; should be t
(lookup-key key-translation-map [?\C-i]) ;; should be spacemacs/translate-C-i

In my system dotspacemacs/user-configcemacs-distinguish-gui-tab is set as nil.

[Read More]

How to create custom profile ID in googleplus

I was writing my blog and added a link to google plus in the sidebar. I wanted to make a human readable/rememberable Id to use for my google plus page.

I guess, planning to {use|add link} to google plus is a bad idea. I googled to find the steps to create a custom profile Id and landed in the documentation page – Get a custom URL for your Google+ profile

I tried following the steps and surprisingly it didn’t worked, I trusted google so much that I thought I may have did some mistake and repeated the steps one more time but still it didn’t worked.

[Read More]

Automating hugo blog deployment to github pages using travis-ci

Here are the steps I took to build and deploy my blog automatically using hugo and travis-ci to github pages

I assume a hugo blog is already created and exist

  • Create .travis.yml file in the project directory with the following contents

        language: go
        sudo: required
        git:
            submodules: true
        install:
        - go get -v github.com/spf13/hugo
        script: bash ./deploy.sh
        notifications:
            email:
                on_failure: always
    
  • Generate and encrypt github token

    • create a access token in github as given here , this is for pushing the changes to the master branch of the user site

      [Read More]