I've set the following key bindings in my .emacs file:
(global-set-key (kbd "C-S-M-w") 'windmove-up)
(global-set-key (kbd "C-S-M-s") 'windmove-down)
(global-set-key (kbd "C-S-M-d") 'windmove-right)
(global-set-key (kbd "C-S-M-a") 'windmove-left)
(global-set-key (kbd "C-S-a") 'shrink-window-horizontally)
(global-set-key (kbd "C-S-d") 'enlarge-window-horizontally)
(global-set-key (kbd "C-S-s") 'shrink-window)
(global-set-key (kbd "C-S-w") 'enlarge-window)
They work just fine when they're in their own window. However, if I run it in terminal (emacs -nw) the keybindings aren't loaded. Even after loading the .emacs file I still don't have the keybindings.
It's the same story when I use a emacs daemon and open in client vs in terminal. I'm on a linux machine if that matters.