FYI, this functionality is "standard" ;) This key shortchut is already defined in the default rc.lua (or at least it is in Debian, it's been defined in the default rc.lua for as long as I can remember).
2014/1/19 Stefan Horomnea <[email protected]> > Awesome! :) Thanks! > > > On Sun, Jan 19, 2014 at 10:20 PM, Namikaze Minato > <[email protected]>wrote: > >> Hi. >> I use this: >> awful.key({ modkey, }, "Escape", awful.tag.history.restore) >> >> Regards, >> LLoyd >> >> On 19 January 2014 22:18, Stefan Horomnea <[email protected]> >> wrote: >> > Hi, >> > >> > I'm wondering what should I write in my rc.lua to assign a key shortcut >> that >> > moves me from current to the last used tag. The reason for this, is >> that I >> > often switch between two tags (say Alt + 2 and Alt + 8)..but after a >> while I >> > switch between Alt + 4 and Alt + 8, and it's simpler to have something >> like >> > Alt+Ctrl+L that switches between the latest two tags. >> > >> > Thank you, >> > Stefan >> > >
